I don't think you read my post. I know about this documentation note. As I stated in my post I tried this but it doesn't work for fork.
On Saturday, May 26, 2012 10:35:58 AM UTC-4, Dan Milon wrote: > > «By default the spawned Node process will have the stdin, stdout, stderr > associated with the parent's.» > > child_process.fork(modulePath, [args], [options]) > > «There is a deprecated option called customFds which allows one to > specify specific file descriptors for the stdio of the child process. > This API was not portable to all platforms and therefore removed. With > customFds it was possible to hook up the new process' [stdin, stdout, > stderr] to existing streams; -1 meant that a new stream should be > created. Use at your own risk.» > > Danmilon. > > > On 05/26/2012 04:52 PM, Roman Shtylman wrote: > > The default behavior is to pass the current stdout/in/err to > > child_process.fork. Is there a way to fork without passing these > > along? I tried customFd: [-1, -1, -1] but that gave an error saying > > customFd was not supported for fork. > > > > Node version: 0.6.18 > > -- > > 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 > > -- 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
