|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.util.ProcessUtils
public class ProcessUtils
Class to run an external process.
| Nested Class Summary | |
|---|---|
class |
ProcessUtils.ProcessResult
Data structure to hold result of a process exec. |
protected class |
ProcessUtils.StreamGobbler
Thread to gobble up an output stream. |
| Constructor Summary | |
|---|---|
protected |
ProcessUtils()
|
| Method Summary | |
|---|---|
static ProcessUtils.ProcessResult |
exec(java.lang.String[] args)
Runs process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ProcessUtils()
| Method Detail |
|---|
public static ProcessUtils.ProcessResult exec(java.lang.String[] args)
throws java.io.IOException
args - List of process args.
java.io.IOException - If interrupted, we throw an IOException. If non-zero
exit code, we throw an IOException (This may need to change).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||