Package org.opennms.core.utils
Class ProcessExec
- java.lang.Object
- 
- org.opennms.core.utils.ProcessExec
 
- 
 public class ProcessExec extends Object ProcessExec class. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classProcessExec.PrintInputStream
 - 
Constructor SummaryConstructors Constructor Description ProcessExec(PrintStream out, PrintStream err)Constructor for ProcessExec.
 
- 
- 
- 
Constructor Detail- 
ProcessExecpublic ProcessExec(PrintStream out, PrintStream err) Constructor for ProcessExec. - Parameters:
- out- a- PrintStreamobject.
- err- a- PrintStreamobject.
 
 
- 
 - 
Method Detail- 
execpublic int exec(String[] cmd) throws IOException, InterruptedException exec - Parameters:
- cmd- an array of- Stringobjects.
- Returns:
- a int.
- Throws:
- IOException- if any.
- InterruptedException- if any.
 
 
- 
 
-