Changed ProcessTask so that it reports 0 for the process ret code if the process was stopped by the task.