程序包 | 说明 |
---|---|
com.sh.common.exec | |
com.sh.common.exec.example |
限定符和类型 | 方法和说明 |
---|---|
ExecuteException |
DefaultExecuteResultHandler.getException()
Get the exception causing the process execution to fail.
|
限定符和类型 | 方法和说明 |
---|---|
void |
ExecuteResultHandler.onProcessFailed(ExecuteException e)
The asynchronous execution failed.
|
void |
DefaultExecuteResultHandler.onProcessFailed(ExecuteException e) |
限定符和类型 | 方法和说明 |
---|---|
int |
Executor.execute(CommandLine command)
Methods for starting synchronous execution.
|
int |
DefaultExecutor.execute(CommandLine command) |
void |
Executor.execute(CommandLine command,
ExecuteResultHandler handler)
Methods for starting asynchronous execution.
|
void |
DefaultExecutor.execute(CommandLine command,
ExecuteResultHandler handler) |
int |
Executor.execute(CommandLine command,
java.util.Map environment)
Methods for starting synchronous execution.
|
int |
DefaultExecutor.execute(CommandLine command,
java.util.Map environment) |
void |
Executor.execute(CommandLine command,
java.util.Map environment,
ExecuteResultHandler handler)
Methods for starting asynchronous execution.
|
void |
DefaultExecutor.execute(CommandLine command,
java.util.Map environment,
ExecuteResultHandler handler) |
限定符和类型 | 方法和说明 |
---|---|
static void |
Test.main(java.lang.String[] args) |