ProcessResult

Process result, produced by 'execute' method of Process.

Constructors

this
this()
Undocumented in source.

Members

Aliases

ensureOk
alias ensureOk = ensureStatus
ensureStatus
auto ref ensureStatus(string msg, int expected)

Ensure that program exited with expected exit code.

Functions

ensureStatus
auto ref ensureStatus(string msg, bool add_output, int expected)
auto ref ensureStatus(int expected)

Ensure that program exited with expected exit code.

isNotOk
bool isNotOk(int expected)

Check if status is not Ok.

isOk
bool isOk(int expected)

Check if status is Ok.

Variables

output
string output;

text output of the process

status
int status;

exit code of the process

Meta