Package org.apache.commons.exec
Class DaemonExecutor
java.lang.Object
org.apache.commons.exec.DefaultExecutor
org.apache.commons.exec.DaemonExecutor
- All Implemented Interfaces:
Executor
Runs daemon processes asynchronously. Callers are expected to register a
ProcessDestroyer before executing any processes.- Since:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.commons.exec.Executor
INVALID_EXITVALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.exec.DefaultExecutor
execute, execute, execute, execute, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectoryMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.exec.Executor
getWorkingDirectoryPath
-
Constructor Details
-
DaemonExecutor
Deprecated.Constructs a new instance.
-
-
Method Details
-
builder
Creates a new builder.- Returns:
- a new builder.
- Since:
- 1.4.0
-
DaemonExecutor.Builder.get().