$ProcessObj->GetExitCode($exitvalue); print "The code returned: $exitvalue\n";