|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
true
if the specified
Process
was
successfully added to the list of processes to be destroy.
true
if the specified Process
was
successfully added to the list of processes to destroy upon VM exit.
PumpStreamHandler
and sets the working directory of the subprocess to the current
working directory.
Execute
to handle input and output stream of
subprocesses.exception causing the process execution to fail.
- getExecutable() -
Method in class org.apache.commons.exec.CommandLine
- Returns the executable.
- getExecutorThread() -
Method in class org.apache.commons.exec.DefaultExecutor
- Get the worker thread being used for asynchronous execution.
- getExitValue() -
Method in class org.apache.commons.exec.DefaultExecuteResultHandler
- Get the
exitValue of the process.
- getExitValue() -
Method in exception org.apache.commons.exec.ExecuteException
- Gets the exit value returned by the failed process
- getMessageLevel() -
Method in class org.apache.commons.exec.LogOutputStream
-
- getOut() -
Method in class org.apache.commons.exec.PumpStreamHandler
- Get the output stream.
- getProcEnvCommand() -
Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
- Determine the OS specific command line to get a list of environment
variables.
- getProcEnvCommand() -
Method in class org.apache.commons.exec.environment.OpenVmsProcessingEnvironment
- Determine the OS specific command line to get a list of environment
variables.
- getProcEnvironment() -
Method in class org.apache.commons.exec.environment.DefaultProcessingEnvironment
- Find the list of environment variables for this process.
- getProcEnvironment() -
Static method in class org.apache.commons.exec.environment.EnvironmentUtils
- Find the list of environment variables for this process.
- getProcessDestroyer() -
Method in class org.apache.commons.exec.DefaultExecutor
-
- getProcessDestroyer() -
Method in interface org.apache.commons.exec.Executor
- Set the handler for cleanup of started processes if the main process
is going to terminate.
- getStreamHandler() -
Method in class org.apache.commons.exec.DefaultExecutor
-
- getStreamHandler() -
Method in interface org.apache.commons.exec.Executor
- Get the StreamHandler used for providing input and
retrieving the output.
- getSubstitutionMap() -
Method in class org.apache.commons.exec.CommandLine
-
- getWatchdog() -
Method in class org.apache.commons.exec.DefaultExecutor
-
- getWatchdog() -
Method in interface org.apache.commons.exec.Executor
- Get the watchdog used to kill of processes running,
typically, too long time.
- getWorkingDirectory() -
Method in class org.apache.commons.exec.DefaultExecutor
-
- getWorkingDirectory() -
Method in interface org.apache.commons.exec.Executor
- Get the working directory of the created process.
exitValue
signals a failure.
exitValue
signals a failure on the current
system (OS specific).
processLine
.
Process
after a certain event,
typically when the VM exitsPumpStreamHandler
.
PumpStreamHandler
.
PumpStreamHandler
.
PumpStreamHandler
.
true
if the specified
Process
was
successfully removed from the list of processes to be destroy.
true
if the specified Process
was
successfully removed from the list of processes to destroy upon VM exit.
exitValue
of the process to be considered
successful.
exitValue
of the process to be considered
successful.
InputStream
from which to read the standard error
of the process.
OutputStream
by means of which input can be sent
to the process.
InputStream
from which to read the standard output
of the process.
Process
es when the VM exits.ProcessDestroyer
and obtains
Runtime.addShutdownHook()
and
Runtime.removeShutdownHook()
through reflection.
Thread
s.
ExecuteWatchdog
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |