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
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
@indutny we talked briefly about this on IRC. To recap, I was interested in knowing if it was by design or perhaps a bug in that you can't reuse the same FD when setting up a stdio config. And if not a bug, curious as to why that is.
Say I have a basic executable that outputs one log to stdout and one to stderr:
@indutny we talked briefly about this on IRC. To recap, I was interested in knowing if it was by design or perhaps a bug in that you can't reuse the same FD when setting up a
stdio
config. And if not a bug, curious as to why that is.Say I have a basic executable that outputs one log to stdout and one to stderr:
If I use spawn with separate FDs, the contents of
out.log
will contain bothhello
andworld
:However if I share the same FD, only the contents of stdout will get written to
out.log
:BTW, I am testing on OSX.
The text was updated successfully, but these errors were encountered: