«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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en