ProcessResult(String, Int32, Int32, DateTime, DateTime, Boolean, Nullable) Constructor

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Instantiates a ProcessResult with data about a Process' execution.

public ProcessResult(string executableFilePath, int exitCode, int processId, DateTime startTime, DateTime exitTime, bool canceled, PosixSignal? signal)

Parameters

executableFilePath
String

The file path of the file that was executed.

exitCode
Int32

The process' exit code.

processId
Int32
startTime
DateTime

The start time of the process.

exitTime
DateTime

The exit time of the process.

canceled
Boolean

A value indicating whether the library terminated the process via its cancellation machinery rather than the process exiting on its own.

signal
Nullable<PosixSignal>

The POSIX signal that terminated the process, or null when not applicable.