Skip to content

Process Output

1 min read

Import: import system.process;

Read the process guide for launch settings, cancellation, and streaming ownership.

ProcessOutput

The captured result of Process.run: exit code plus fully buffered stdout/stderr text.

public class ProcessOutput

exit_code

Process exit status; negative values represent signal termination.

public get exit_code(): int

stdout

Captured standard output decoded as UTF-8 text.

public get stdout(): string

stderr

Captured standard error decoded as UTF-8 text.

public get stderr(): string

success

True when the process exited with status zero.

public get success(): bool