|
|
@ -230,8 +230,7 @@ public abstract class AbstractCommandExecutor { |
|
|
|
result.setExitStatusCode(process.exitValue()); |
|
|
|
result.setExitStatusCode(process.exitValue()); |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
logger.error("process has failure , exitStatusCode:{}, processExitValue:{}, ready to kill ...", |
|
|
|
logger.error("process has failure, the task timeout configuration value is:{}, ready to kill ...", taskRequest.getTaskTimeout()); |
|
|
|
result.getExitStatusCode(), process.exitValue()); |
|
|
|
|
|
|
|
ProcessUtils.kill(taskRequest); |
|
|
|
ProcessUtils.kill(taskRequest); |
|
|
|
result.setExitStatusCode(EXIT_CODE_FAILURE); |
|
|
|
result.setExitStatusCode(EXIT_CODE_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|