 Pipe = require("./Pipe")
 
 class ChildProcess
-  #TODO: Remove
-  @children: []
 
   child: null
 

      @pipe = new Pipe(@child.stdout,@child.stderr)

    @child.on "exit", (code,signal)=>
      delete ChildProcess.children[@child.pid]
      if code?
        log.info "#{command} exited with code: #{code}"
      else if signal?

    @command = command

    @child = _spawn(command,args,options)

    if pipeClass
      @pipe = new pipeClass(@child.stdout,@child.stderr)
