Package org.apache.commons.exec
package org.apache.commons.exec
The main Apache Commons Exec package.
The main classes are CommandLine
and DefaultExecutor
.
-
ClassDescriptionCommandLine objects help handling command lines specifying processes to execute.Runs daemon processes asynchronously.Constructs a new builder.A default implementation of 'ExecuteResultHandler' used for asynchronous process handling.The default class to start a subprocess.DefaultExecutor.Builder<T extends DefaultExecutor.Builder<T>>Constructs a new builder.An exception indicating that the executing a subprocesses failed.The callback handlers for the result of asynchronous process execution.Handles stream of subprocesses for
Executor
s.Destroys a process running for too long.Builds ExecuteWatchdog instances.The main abstraction to start an external process.Copies all data from an System.input stream to an output stream of the executed process.Base class to connect a logging system to the output and/or error stream of then external process.Condition that tests the OS type.Destroys all registeredProcess
after a certain event, typically when the VM exits.Copies standard output and error of sub-processes to standard output and error of the parent process.Destroys all registeredProcess
es when the VM exits.Copies all data from an input stream to an output stream.Interface for classes that want to be notified by Watchdog.Generalization ofExecuteWatchdog
.Builds ExecuteWatchdog instances.