Class ProcessWrapper
java.lang.Object
com.qasymphony.ci.plugin.utils.process.ProcessWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateProcess(File workingDir, String command, String arguments, String encoding, IStreamConsumer outStreamConsumer, IStreamConsumer errorStreamConsumer) intWait the process complete.
-
Constructor Details
-
ProcessWrapper
public ProcessWrapper()
-
-
Method Details
-
createProcess
public boolean createProcess(File workingDir, String command, String arguments, String encoding, IStreamConsumer outStreamConsumer, IStreamConsumer errorStreamConsumer) throws Exception - Throws:
Exception
-
waitForExit
public int waitForExit()Wait the process complete.- Returns:
- the given result code.
-