PanaProcessResult class

Constructors

PanaProcessResult(int pid, int exitCode, Object stdout, Object stderr, {bool wasTimeout = false, bool wasOutputExceeded = false, bool wasError = false, Encoding? encoding})

Properties

asJoinedOutput String
Returns the line-concatenated output of stdout and stderr (both converted to String), and the final output trimmed.
no setter
asTrimmedOutput String
Return the line-concatenated output of stdout and stderr (both converted to String), with limits on individual line lengths and total lines. Total length should not be more than 4KiB.
no setter
exitCode int
final
hashCode int
The hash code for this object.
no setterinherited
pid int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr ProcessOutput
final
stdout ProcessOutput
final
wasError bool
True if the process completed with some error, false if successful.
latefinal
wasOutputExceeded bool
final
wasTimeout bool
final

Methods

change({ProcessOutput? stderr}) PanaProcessResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseJson({String transform(String value)?}) Map<String, dynamic>
Parses the output of the process as JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited