Class ProcessUtils
java.lang.Object
org.archive.util.ProcessUtils
Class to run an external process.
- Version:
- $Date$ $Revision$
- Author:
- stack
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassData structure to hold result of a process exec.protected classThread to gobble up an output stream. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcessUtils
protected ProcessUtils()
-
-
Method Details
-
exec
Runs process.- Parameters:
args- List of process args.- Returns:
- A ProcessResult data structure.
- Throws:
IOException- If interrupted, we throw an IOException. If non-zero exit code, we throw an IOException (This may need to change).
-