spawn
spawn(
parent,path,argv?,env?,init?):Promise<Process>
Defined in: src/fs/exec.ts:164
Fork a child of parent and run a program in it.
This comes back with the child, which is still running; parent.wait(child.pid) reaps it.
Parameters
Section titled “Parameters”parent
Section titled “parent”string
string[] = ...
Record<string, string> = parent.env
ProcessInit = {}
Returns
Section titled “Returns”Promise<Process>