public class ProcOpenResource extends java.lang.Object implements EnvCleanup
Constructor and Description |
---|
ProcOpenResource(Env env,
java.lang.Process process,
ProcOpenOutput in,
ProcOpenInput out,
ProcOpenInput err,
java.lang.String command) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Implements the EnvCleanup interface.
|
java.lang.String |
getCommand() |
int |
getExitCode() |
boolean |
isRunning() |
int |
pclose() |
boolean |
terminate() |
public ProcOpenResource(Env env, java.lang.Process process, ProcOpenOutput in, ProcOpenInput out, ProcOpenInput err, java.lang.String command)
public boolean isRunning()
public int getExitCode()
public java.lang.String getCommand()
public int pclose()
public boolean terminate()
public void cleanup()
cleanup
in interface EnvCleanup