public class ProcessExecutor.ProcessExecutionResult
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getExitValue()
Retrieve the status exit code of the process
|
java.lang.String |
getStderr()
The text written to the standard error.
|
java.lang.String |
getStdout()
The text written to the standard output.
|
boolean |
hasTimedOut()
Check if the process was stopped after a timeout
|
public int getExitValue()
0
indicates normal termination.public java.lang.String getStdout()
Requires captureOuput option of ProcessExecutor to be enabled.
ProcessExecutor.setCaptureOutput(boolean)
public java.lang.String getStderr()
Requires captureOuput option of ProcessExecutor to be enabled.
ProcessExecutor.setCaptureOutput(boolean)
public boolean hasTimedOut()
Copyright © 2001-2017 Jalios SA. All Rights Reserved.