https://gist.github.com/1920998
If you run the above code with "node bad_file_descriptor.js sample.js" and then send a SIGUSR1 to the parent process it will cause an error: (libev) epoll_wait: Bad file descriptor I think this is related to the fact that on restart, the stdout, etc are no longer available since it has been effectively detached from the terminal. Thus I am looking for a way to not use the parents stdout/in/err On Saturday, May 26, 2012 10:36:53 AM UTC-4, Oliver Leics wrote: > > On Sat, May 26, 2012 at 3:52 PM, Roman Shtylman <[email protected]> > wrote: > > Is there a way to fork without passing these along? > > As far as i know, there is no way to do this with .fork(), but with > .spawn(). > > What do you want to achieve? > Mute the child, send messages to the child, log the childs output, ...? > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
