Giter VIP home page Giter VIP logo

Comments (4)

trappitsch avatar trappitsch commented on May 26, 2024 1

I agree with your worries. These started to come up when I was testing the implementation as well. There's a longer explanation / write up in the PR, see #97. The short is:

  • targeting windows_subsystem = "windows" for PyApp is not a good idea, since setup, management, etc. require the console.
  • GUIs can be run in the run_project with pythonw.exe. A console appears now briefly when starting the app but then disappears. I think that's a fair trade of. This also means that all the great things with PyApp stay, like installation splash screen, self management from the console, etc.

from pyapp.

Tremeschin avatar Tremeschin commented on May 26, 2024

It's been a while since I used pyapp and I might be wrong on a few comments, but I have some questions/worries:

IIRC if we open two processed of pyapp and the venv installation wasn't finished, one or both will fail. I had to run app.exe self restore command on a terminal to start fresh (or even manually delete the virtualenv folder)

Is there a mechanism to automatically run the self restore command on installation or imports failure, and could this be an issue when a user clicks the app, it takes a while to load/install and they spawn many processes of it?

~

For that, it's probably feature creep, but a quick pyinstaller-like splash screen would be nice to have-

-or even detecting same-name processes of the pyapp binary already running and giving preference to the older one*

*This might NOOP and require task managers strategy of sending a challenge signal to the process we might replace to detect if softlocked or healthy

from pyapp.

shenjackyuanjie avatar shenjackyuanjie commented on May 26, 2024

about subsystem = "windows"
I have a rust project about a caller wrapper in rust
it may can help you doing it

https://github.com/shenjackyuanjie/wrapper-rs

from pyapp.

ofek avatar ofek commented on May 26, 2024

Resolved by #97

from pyapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.