NCLib
Class Process

java.lang.Object
  extended by NCLib.Process

public class Process
extends java.lang.Object


Constructor Summary
Process()
           
 
Method Summary
static java.lang.String exec(java.lang.String cmd)
          Execute a command (system() equivalent)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Process

public Process()
Method Detail

exec

public static java.lang.String exec(java.lang.String cmd)
                             throws java.io.IOException
Execute a command (system() equivalent)

Parameters:
cmd - The command to execute
Returns:
Everything that was written to stdout and stderr by the executed process
Throws:
java.io.IOException