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

Does not catch 'exit' event from spawn() #26

Open
ianpark opened this issue Sep 16, 2016 · 0 comments
Open

Does not catch 'exit' event from spawn() #26

ianpark opened this issue Sep 16, 2016 · 0 comments

Comments

@ianpark
Copy link

ianpark commented Sep 16, 2016

For some use cases, you need to catch exit event because close only waits for stdout.
If the application you run using spawn() creates a child process and detaches it with sharing stdout, close event will never fire even if the application is actually terminated. Which means the promise would never be resolved or rejected.

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

1 participant