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 SpawnOptions.timeoutMs sets timedOut.
Outcome of a SpawnService.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 within SpawnOptions.timeoutMs setstimedOut.