If there are errors and the child process crashes, then using child.stderr.pipe(process.stderr, {end:false}) won't always show the stack trace that blew up the child. However, sharing the parent's stderr using customFds will since stderr in the child is then sync.
On Wed, Jul 11, 2012 at 1:02 PM, Alan Gutierrez <a...@prettyrobots.com> wrote: > When you use spawn, is there any substantial difference between piping the > spawned program stdout to the console and inheriting the parents stdout? > > I know that tty.istty will return false for the stdout of the child. What > other > behaviors will change? > > -- > Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy > > -- > 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