Nops, null as your child's arguments, not as options. The default child_proces.fork usage is this: child_process.fork(file, [arguments], [options])
If I pass null as aguments, options.env won't be added to the child process's env, but if I pass [] instead of null, then everything works fine. See this gist for more details: https://gist.github.com/anonymous/5134635 -- Att, Alan Hoffmeister 2013/3/11 Tim Dickinson <[email protected]> > So you think that passing in null as your env will give you a null env in > the new process? > > If so that is wrong. > > > On Monday, March 11, 2013 7:57:21 AM UTC-5, Alan Hoffmeister wrote: >> >> Hello there, >> >> Why {env : myEnvObject} it's being ignored I pass null to the [args] >> option in process_child.fork()? >> >> Thanks. >> -- >> Att, >> Alan Hoffmeister >> > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
