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

Any possible way for Web support? #56

Open
EricPHassey opened this issue Oct 21, 2021 · 1 comment
Open

Any possible way for Web support? #56

EricPHassey opened this issue Oct 21, 2021 · 1 comment

Comments

@EricPHassey
Copy link

Looking for a way to run a bash script using the web. I understand security reasons etc typically block that (for obvious reasons), but others have said there is a way via html/javascript. Looking to just run a script that's already locally downloaded/installed.

@alextekartik
Copy link
Contributor

but others have said there is a way via html/javascript

I would be to see where you get such info. A browser is a sandbox with no access to native process. Electron/node could be a solution though.

Anyway dart:io (that process_run uses) does not run on the web. The only solution (that I personnally use but sorry not public yet) is having a local server (websocket) running in a terminal or in a flutter application that a web page talks to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants