autopch: convert Process::Status to integer