Process Error¶
Import: import system.process;
Read the process guide for launch settings, cancellation, and streaming ownership.
ProcessError¶
Failure launching or communicating with a child process, implementing Error.
constructor¶
Creates an error with a machine code and message.
message¶
Human-readable explanation of the process failure, suitable for logs and error output.
code¶
Stable machine code (ESPAWN, EIO, EUNSUPPORTED, …).
spawn_failed¶
The executable could not be launched (not found, not executable, permission denied, ...).
io¶
A read/write against a running child's stdin/stdout/stderr failed.
unsupported¶
Process control is not available on the current host (e.g. the browser).
failed¶
Reports a nonzero exit status from run_checked.
cancelled¶
Cooperative cancellation (CancellationToken).