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

How to listen of process status #54

Closed
davidkhierl opened this issue May 25, 2022 · 1 comment
Closed

How to listen of process status #54

davidkhierl opened this issue May 25, 2022 · 1 comment

Comments

@davidkhierl
Copy link

Hi is there a way to subscribe or listen to a process when on create and on exit?

@sindresorhus
Copy link
Owner

No. There's really no easy way to do this cross-platform. You will have to use some low-level C APIs. One alternative is polling, but that's very inefficient. It's out of scope of this package to provide this functionality.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2022
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