com.caucho.quercus.lib
Class ProcOpenResource

java.lang.Object
  extended by com.caucho.quercus.lib.ProcOpenResource
All Implemented Interfaces:
EnvCleanup

public class ProcOpenResource
extends java.lang.Object
implements EnvCleanup


Constructor Summary
ProcOpenResource(Env env, java.lang.Process process, ProcOpenOutput in, ProcOpenInput out, ProcOpenInput err, java.lang.String command)
           
 
Method Summary
 void cleanup()
          Implements the EnvCleanup interface.
 java.lang.String getCommand()
           
 int getExitCode()
           
 boolean isRunning()
           
 int pclose()
           
 boolean terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcOpenResource

public ProcOpenResource(Env env,
                        java.lang.Process process,
                        ProcOpenOutput in,
                        ProcOpenInput out,
                        ProcOpenInput err,
                        java.lang.String command)
Method Detail

isRunning

public boolean isRunning()

getExitCode

public int getExitCode()

getCommand

public java.lang.String getCommand()

pclose

public int pclose()

terminate

public boolean terminate()

cleanup

public void cleanup()
Implements the EnvCleanup interface.

Specified by:
cleanup in interface EnvCleanup