public class ProcessExec extends Object
ProcessExec class.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ProcessExec.PrintInputStream  | 
| Constructor and Description | 
|---|
ProcessExec(PrintStream out,
           PrintStream err)
Constructor for ProcessExec. 
 | 
public ProcessExec(PrintStream out, PrintStream err)
Constructor for ProcessExec.
out - a PrintStream object.err - a PrintStream object.public int exec(String[] cmd) throws IOException, InterruptedException
exec
cmd - an array of String objects.IOException - if any.InterruptedException - if any.Copyright © 2020. All rights reserved.