|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.core.process.JbbProcess
public class JbbProcess
This class provides miscellaneous process utilities
| Method Summary | |
|---|---|
int |
launchAndWaitForCompletion(String zCommand,
String zCommandWorkingDirectory,
StringBuffer zStdErrContent)
launch a command and wait for its completion |
int |
launchAndWaitForCompletion(String zCommand,
String zCommandWorkingDirectory,
StringBuffer zStdErrContent,
StringBuffer zStdOutContent)
launch a command and wait for its completion |
static JbbProcess |
newInstance()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JbbProcess newInstance()
public int launchAndWaitForCompletion(String zCommand,
String zCommandWorkingDirectory,
StringBuffer zStdErrContent)
throws Exception
zCommand - the absolute path to the command to execute (e.g. "C:\\temp\\rv.bat")zCommandWorkingDirectory - the working directory for the command (e.g. "C:\\temp"); If zCommandWorkingDirectory is null, the subprocess inherits the current working directory of the current process.
Exception
public int launchAndWaitForCompletion(String zCommand,
String zCommandWorkingDirectory,
StringBuffer zStdErrContent,
StringBuffer zStdOutContent)
throws Exception
zCommand - the absolute path to the comamnd to execute (e.g. "C:\\temp\\rv.bat")zCommandWorkingDirectory - the working directory for the command (e.g. "C:\\temp"); If zCommandWorkingDirectory is null, the subprocess inherits the current working directory of the current process.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||