>
> > Then fooapp would prompt for the  user for some input from the console
> > and  then exec  barapp  (detached) with  --opt-a  arg-a --opt-b  arg-b
> > --callback-app fooapp  and barapp  would have  full control  of stdin,
> > stdout, stderr and fooapp exits.
>
> Based  on your  description,  it sounds  like what  you  really want  is
> exec(), not fork().


Yes. I suppose I never explicitly declared exec or fork, but I have been
trying node.js' exec and I wasn't sure if it's a bug in how node handles
exec, or if I'm doing it wrong.

http://stackoverflow.com/questions/35767918/node-js-how-to-spawn-detached-child-in-foreground-and-exit

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to