3 ms·
I have a binding for *nix fork() here: https://github.com/felixge/node-nix https://github.com/felixge/node-nix However, you need to know what you are doing, o
by felixge 15y ago
I have a binding for *nix fork() here:
https://github.com/felixge/node-nix https://github.com/felixge/node-nix
However, you need to know what you are doing, otherwise you'll have multiple processes draining the same file descriptors which will give you some nice surprises : )
- iter8n 15y agoWow, awesome. It shouldn't be hard to create a binding for execvp as well then. I found the pipe() binding, but I can't use those fd's with child_process.spawn if i want to open them as fd 3, 4, 5, etc in the child.