You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shell.exec() waits for the process to finish, then it returns all the output. I think shell.exec() can also print output line by line, but it won't terminate until the command you're running finishes.
If that's not what you want, you can try using shell.exec() in async mode. Check out the README for how to do that.
nfischer
added
question
Question from a user (which may not require code/documentation changes to the project)
exec
Issues specific to the shell.exec() API
labels
Apr 16, 2024
Node version:
v18.19.1
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.5
Operating system:
WSL2 Kali Linux
Description of the bug:
Example ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: