org.opennms.core.utils
Class ProcessExec

java.lang.Object
  extended by org.opennms.core.utils.ProcessExec

public class ProcessExec
extends java.lang.Object


Nested Class Summary
 class ProcessExec.PrintInputStream
           
 
Constructor Summary
ProcessExec(java.io.PrintStream out, java.io.PrintStream err)
           
 
Method Summary
 int exec(java.lang.String[] cmd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessExec

public ProcessExec(java.io.PrintStream out,
                   java.io.PrintStream err)
Method Detail

exec

public int exec(java.lang.String[] cmd)
         throws java.io.IOException,
                java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2007. All Rights Reserved.