spawn([env,] command... [,options]) â pidProcess.spawn([env,] command... [,options]) â pid
Class Public methods
spawn executes specified command and return its pid.
This method doesn't wait for end of the command. The parent process
should use Process.wait to collect the termination status of
its child or use Process.detach to register disinterest in
their status; otherwise, the operating system may accumulate zombie
processes.
spawn has bunch of options to specify process