| Package | Description |
|---|---|
| org.rhq.core.util.exec |
| Modifier and Type | Method and Description |
|---|---|
protected File |
ProcessExecutor.createOutputFile(ProcessToStart process)
Creates the output file and returns its
File representation. |
ProcessExecutorResults |
ProcessExecutor.execute(ProcessToStart processToStart)
This executes any operating system process as described in the given start command.
|
protected String[] |
ProcessExecutor.getCommandLine(ProcessToStart process)
Builds the command line containing the full path to the program executable and any arguments that are to be
passed to the program.
|
protected String |
ProcessExecutor.getFullProgramExecutablePath(ProcessToStart process)
Returns the full pathname to the program executable.
|
protected File |
ProcessExecutor.getInputFile(ProcessToStart process)
Gets the input file and returns its
File representation. |
protected File |
ProcessExecutor.getWorkingDirectory(ProcessToStart process)
Returns the full pathname to the working directory.
|
protected ProcessExecutor.RedirectThreads |
ProcessExecutor.redirectAllStreams(ProcessToStart process,
Process childProcess)
This method redirects the stdout/stderr streams of the child process to the output log file and pipes the
contents of the input file (if one was specified) to the stdin stream of the child process.
|
protected void |
ProcessExecutor.redirectStreams(ProcessToStart process,
Process childProcess)
Deprecated.
|
protected Integer |
ProcessExecutor.startProgram(ProcessToStart process)
Starts a child process.
|
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.