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
yeah we should add command-line arguments to specify the fds that the child should use, the parent will allocate a pair for each worker process it launches and tell the child what it picked
Yeah, but the parent cannot. But, now you're making me wonder how this really works, and whether the FD numbers have to be the same in both child and parent (I know it's doing fork/exec, but the parent process could close/fdup to reassign the numbers before it execs the child). I wrote code to do this in Twisted 20 years ago, but for the life of me I don't remember what I did.
We'll have to check the Node.js spawn docs to see if this is strictly necessary.
context: #1407 (comment)
cc @warner
The text was updated successfully, but these errors were encountered: