-
Notifications
You must be signed in to change notification settings - Fork 734
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
Shell.exec() freezes #1126
Comments
Same, command works perfectly fine when running in ordinary shell, but |
What is the command you're trying to run? |
|
What is pm2? Can you link to that project? If pm2 kill needs an argument, then please share exactly what command you're running. Preferably, I'd like to see this as a |
@nfischer sure, it's this specific project: https://github.com/Unitech/pm2 With shelljs I invoke it like this:
The above hangs, however running this directly in the terminal does not:
|
I assume |
Hello,
We have a shell script which has infinite loop inside. When we try to use shell.exec() function, program hangs and freezes. Could you have any recommendation for me please?
Thanks
The text was updated successfully, but these errors were encountered: