add exit_code, delete terminated and exitstatus, exitsignal