doc: several properties undocumented on child process #27206
Closed
Description
Tracking back as far as Node 0.12 it seems that the documentation for ChildProcess
is missing several properties.
exitCode
- if the process exited will contain the exit code, elsenull
. Useful in combination withkilled
→if (proc.exitCode !== null || proc.killed)
to see if the process is still running.signalCode
- not sure what that is good for.spawnfile
&spawnargs
the initial properties of the spawning. In combination with exec will show what shell is used. Useful for debugging.