Package de.uplanet.util
Class CScriptWrapper
java.lang.Object
de.uplanet.util.CScriptWrapper
Wrap cscript child processes.
Note: this class is not thread-safe.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CScriptWrapper
-
-
Method Details
-
exec
- Returns:
- The exit code of the child process.
- Throws:
IOException
InterruptedException
-
exec
- Parameters:
p_iTimeout
- the timeout (in seconds!).- Returns:
- The exit code of the child process.
- Throws:
IOException
InterruptedException
-
getStdOut
Get the standard output of the child process.- Returns:
- The stdout output of the child process, or
null
if there was no such output.
-
getStdErr
Get the error output of the child process.- Returns:
- The stderr output of the child process, or
null
if there was no such output.
-