Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making single-process desktop apps? #10

Open
almarklein opened this issue Nov 2, 2018 · 0 comments
Open

Making single-process desktop apps? #10

almarklein opened this issue Nov 2, 2018 · 0 comments
Labels
question Further information is requested

Comments

@almarklein
Copy link
Member

almarklein commented Nov 2, 2018

If one wants to develop a desktop app, then having the two processes (Python process + webruntime) is annoying. Some issues:

  • You probably don't want to show a window for the Python process. But then you are missing any Python logging / tracebacks, unless you somehow send these back to the webruntime.
  • If either process is killed, the other should die as well. We've built things to make this work, but its hard, and not bulletproof.
  • It can be confusing in some cases that the main app is not the thing that provides the window.
  • You cannot "pin applications to the taskbar", because the process associated with the window is not one of which the executable should be started ...

I'm playing with the idea of defining some sort of API to access the system, which can be exposed via Python or Electron / whatever. Then (Flexx) apps can be created and deployed using Electron or a Gecko-like runtime.

@almarklein almarklein added the question Further information is requested label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant