|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.modules.vcscore.cmdline.exec.CommandExecutor
The command executor.
| Constructor Summary | |
protected |
CommandExecutor()
Creates a new instance of CommandExecutor |
| Method Summary | |
Process |
createProcess(String[] cmdArr,
String[] envp,
File work,
boolean mergeStreams)
Create the process that is executing the command. |
static CommandExecutor |
getDefault()
Get the default instance of command executor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CommandExecutor()
| Method Detail |
public static CommandExecutor getDefault()
public Process createProcess(String[] cmdArr, String[] envp, File work, boolean mergeStreams) throws IOException
cmdArr - array containing the command to call and it's argumentsenvp - environment - array of strings of the format name=value.work - the working directorymergeStreams - whether to merge error output with the standard output.
This should not be set when running on JDK 1.4.x (a warning is provided).
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||