Skip to content

can't run shell command #3122

Answered by systemtrap
mikewang68 asked this question in Q&A
Discussion options

You must be logged in to vote

This code is run in WASM runtime in your browser. There is not such thing as a shell command in this environment. You may create a server side API, call this API -- which intern calls Command::new and returns the output.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ranile
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3118 on February 11, 2023 15:29.