Initialises the BufferedProcessResult with process information.
public BufferedProcessResult(string executableFilePath, int exitCode, int processId, string standardOutput, string standardError, DateTime startTime, DateTime exitTime, bool canceled, PosixSignal? signal, bool wasTruncated = false)
The file path of the file that was executed.
The process' exit code.
The process' standard output as a string.
The process' standard error as a string.
The start time of the process.
The exit time of the process.
A value indicating whether the library terminated the process via its cancellation machinery rather than the process exiting on its own.
The POSIX signal that terminated the process, or null when not applicable.
A value indicating whether the captured standard output or standard error was truncated because it exceeded the configured per-stream cap.