← back to roto on ba3a.dev

ProcessResult

class ProcessResult(val exitCode: Int, val stdout: ByteArray, val stderr: String)

What a finished program left: its exit code, everything it wrote to stdout, and its stderr as text.

Constructors

Link copied to clipboard
constructor(exitCode: Int, stdout: ByteArray, stderr: String)

Properties

Link copied to clipboard

the program's exit code; 0 means success

Link copied to clipboard

what it wrote to stderr, as text

Link copied to clipboard

everything it wrote to stdout, as raw bytes