Trying to run an exe from stlite desktop app #531
Replies: 4 comments 5 replies
-
|
Unfortunately, it is not possible at this point, as long as I understand the situation correctly. It is because, in short, Streamlit apps on the In details, the stlite runtime is "sandboxed". There is a related issue: #463, which may require access to the host file system. |
Beta Was this translation helpful? Give feedback.
-
|
Could I add the exe to the build directory as an external resource and call it from there? |
Beta Was this translation helpful? Give feedback.
-
|
Probably not. You can bundle the exe file in the |
Beta Was this translation helpful? Give feedback.
-
|
If launching another exe file is the purpose, launching an app with a URL scheme may work, although I haven't tried it. As the desktop app of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
Since I need pyodbc for a Desktop app that I am creating, I am using pyinstaller to create a backend app that will serve as sort of a local API hub (with just cmd line options) for my non-pure python calls.
As a result, from the stlite/desktop app, I need to run a file called "database.exe" which can be any known location on the filesystem. I tried installing it in C:\Program Files\database.exe, and the streamlit desktop app couldn't find it:
Hopefully, this image illustrates the situation well.
Could anyone point me toward the best way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions