How to start a child process and add arguments to node.exe?

24 views
Skip to first unread message

ami

unread,
May 11, 2014, 9:23:14 AM5/11/14
to nod...@googlegroups.com
I am trying to run child node using " --stack-trace-limit=1000"

child_process.fork('file.js',[' --stack-trace-limit=1000'])

Is it will work?
I believe not, because the args, is for the child_process not for the node.exe.

Anyone knows?

Jan Krems

unread,
May 11, 2014, 11:38:09 PM5/11/14
to nod...@googlegroups.com
I think you are looking for `execArgs` - it should be mentioned in the child_process docs.
Reply all
Reply to author
Forward
0 new messages