ok is true only when the process launched and exited with code 0. A launch failure (e.g.
the binary was not found) sets error with no exitCode; a non-zero exit sets exitCode with
no error; a process that did not exit within options.timeoutMs sets timedOut with no
error/exitCode.
Outcome of a SpawnInterface.spawn call.
okistrueonly when the process launched and exited with code0. A launch failure (e.g. the binary was not found) setserrorwith noexitCode; a non-zero exit setsexitCodewith noerror; a process that did not exit withinoptions.timeoutMssetstimedOutwith noerror/exitCode.