public class DaemonExecutor extends DefaultExecutor
ProcessDestroyer
before executing
any processes.INVALID_EXITVALUE
Constructor and Description |
---|
DaemonExecutor() |
Modifier and Type | Method and Description |
---|---|
protected Thread |
createThread(Runnable runnable,
String name)
Factory method to create a thread waiting for the result of an asynchronous execution.
|
execute, execute, execute, execute, getExecutorThread, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, launch, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectory
protected Thread createThread(Runnable runnable, String name)
createThread
in class DefaultExecutor
runnable
- the runnable passed to the threadname
- the name of the threadCopyright © 2023 The Apache Software Foundation. All rights reserved.