ProcessResults
classin packageklyn.process
public class ProcessResults extends Object:
└ ProcessResults
Immutable value object describing the result of a process execution. @param PID Operating-system process identifier (or `0u` if unavailable). @param exitCode Process exit status (`0` means success). @param output Standard output captured from the process. @param error Standard error captured from the process.
Fields
Modifier and Type Member Description
public readonly PID
PID as UInt
Operating-system process identifier.
public readonly error
error as String
Captured standard error.
public readonly exitCode
exitCode as Int
Process exit status.
public readonly output
output as String
Captured standard output.
Properties inherited from Object: type
Methods
Modifier and Type Member Description
public override toString
toString() as String:
Returns a readable representation of this process result.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml