Package org.jruby.util
Class ShellLauncher.POpenProcess
java.lang.Object
java.lang.Process
org.jruby.util.ShellLauncher.POpenProcess
- Enclosing class:
ShellLauncher
-
Constructor Summary
ConstructorsConstructorDescriptionPOpenProcess
(Process child) POpenProcess
(Process child, Ruby runtime, IOOptions modes) Deprecated.POpenProcess
(Process child, Ruby runtime, ModeFlags modes) -
Method Summary
Methods inherited from class java.lang.Process
children, descendants, destroyForcibly, errorReader, errorReader, info, inputReader, inputReader, isAlive, onExit, outputWriter, outputWriter, supportsNormalTermination, toHandle, waitFor
-
Constructor Details
-
POpenProcess
Deprecated. -
POpenProcess
-
POpenProcess
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStream
in classProcess
-
getInputStream
- Specified by:
getInputStream
in classProcess
-
getErrorStream
- Specified by:
getErrorStream
in classProcess
-
getInput
-
getOutput
-
pid
public long pid() -
getError
-
hasOutput
public boolean hasOutput() -
getChild
-
waitFor
- Specified by:
waitFor
in classProcess
- Throws:
InterruptedException
-
exitValue
public int exitValue() -
destroy
public void destroy()
-