GetExitCode
$
proc
->GetExitCode(
$
ref
)
Gets the exit code of a process and saves it to
$ref
.