Kill $proc->Kill(exitcode) Kills the process with the given exitcode, which is returned by the process.