Hacker News new | ask | show | jobs
by felixge 5456 days ago
I have a binding for *nix fork() here:

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 : )

1 comments

Wow, 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.