public class ProcessUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessUtils.ProcessResult
Data structure to hold result of a process exec.
|
protected class |
ProcessUtils.StreamGobbler
Thread to gobble up an output stream.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ProcessUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ProcessUtils.ProcessResult |
exec(java.lang.String[] args)
Runs process.
|
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).Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.