-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
Alternative to deprecated child_process.spawn customFds option #542
Comments
@knownasilya You should use In this case |
Yes that works, although now there is no control over what happens during the stdout/err data flow. So it's a trade-off. |
@knownasilya could you elaborate on what you mean by "no control"? You get streams, don't they allow flow control? |
@sam-github when using the above option, e.g. |
Just as you would get when using customFds. |
So
customFds
is deprecated, but there is no alternative. Main use case is preserving stdout/stderr colors when executing commands from node/io.nodejs/node-v0.x-archive#2754
The text was updated successfully, but these errors were encountered: