org.jruby.util
Class ShellLauncher.POpenProcess

java.lang.Object
  extended by java.lang.Process
      extended by org.jruby.util.ShellLauncher.POpenProcess
Enclosing class:
ShellLauncher

public static class ShellLauncher.POpenProcess
extends java.lang.Process


Constructor Summary
ShellLauncher.POpenProcess(java.lang.Process child, Ruby runtime)
           
ShellLauncher.POpenProcess(java.lang.Process child, Ruby runtime, ModeFlags modes)
           
 
Method Summary
 void destroy()
           
 int exitValue()
           
 java.nio.channels.FileChannel getError()
           
 java.io.InputStream getErrorStream()
           
 java.nio.channels.FileChannel getInput()
           
 java.io.InputStream getInputStream()
           
 java.nio.channels.FileChannel getOutput()
           
 java.io.OutputStream getOutputStream()
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellLauncher.POpenProcess

public ShellLauncher.POpenProcess(java.lang.Process child,
                                  Ruby runtime,
                                  ModeFlags modes)

ShellLauncher.POpenProcess

public ShellLauncher.POpenProcess(java.lang.Process child,
                                  Ruby runtime)
Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in class java.lang.Process

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in class java.lang.Process

getErrorStream

public java.io.InputStream getErrorStream()
Specified by:
getErrorStream in class java.lang.Process

getInput

public java.nio.channels.FileChannel getInput()

getOutput

public java.nio.channels.FileChannel getOutput()

getError

public java.nio.channels.FileChannel getError()

waitFor

public int waitFor()
            throws java.lang.InterruptedException
Specified by:
waitFor in class java.lang.Process
Throws:
java.lang.InterruptedException

exitValue

public int exitValue()
Specified by:
exitValue in class java.lang.Process

destroy

public void destroy()
Specified by:
destroy in class java.lang.Process


Copyright © 2002-2007 JRuby Team. All Rights Reserved.