shell
Class ChildProcess

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--shell.ChildProcess
All Implemented Interfaces:
java.lang.Runnable

public class ChildProcess
extends java.lang.Thread


Field Summary
static boolean alreadyRunning
           
protected  java.lang.Process childProcess
           
protected  java.lang.String cmd
           
protected  java.io.BufferedInputStream osIn
           
protected  java.io.BufferedInputStream osInE
           
protected static java.io.DataOutputStream osOut
           
protected  java.io.PrintWriter out
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ChildProcess()
           
 
Method Summary
 void configure(java.lang.String command)
           
 boolean getAlreadyRunning()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alreadyRunning

public static boolean alreadyRunning

childProcess

protected java.lang.Process childProcess

osOut

protected static java.io.DataOutputStream osOut

out

protected java.io.PrintWriter out

osIn

protected java.io.BufferedInputStream osIn

osInE

protected java.io.BufferedInputStream osInE

cmd

protected java.lang.String cmd
Constructor Detail

ChildProcess

public ChildProcess()
Method Detail

configure

public void configure(java.lang.String command)

getAlreadyRunning

public boolean getAlreadyRunning()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread