org.jruby.ext.posix.util
Class ExecIt

java.lang.Object
  extended by org.jruby.ext.posix.util.ExecIt

public class ExecIt
extends java.lang.Object


Constructor Summary
ExecIt(POSIXHandler handler)
          Creates a new instance of ShellLauncher
 
Method Summary
 java.lang.Process run(java.lang.String... args)
           
 int runAndWait(java.io.OutputStream output, java.lang.String... args)
           
 int runAndWait(java.lang.String... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecIt

public ExecIt(POSIXHandler handler)
Creates a new instance of ShellLauncher

Method Detail

runAndWait

public int runAndWait(java.lang.String... args)
               throws java.io.IOException,
                      java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

runAndWait

public int runAndWait(java.io.OutputStream output,
                      java.lang.String... args)
               throws java.io.IOException,
                      java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

run

public java.lang.Process run(java.lang.String... args)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.