 
   kill: (signal="SIGINT")->
     log.debug "ChildProcess.kill()",arguments
+    log.info "Killing ", @command
     @child.kill(signal)
 
 


  pipe : null


  constructor:->
    log.debug "ChildProcess.constructor()", arguments

    expect(command,"Invalid @command argument").to.be.a "string"
    expect(args,"Invalid @args argument").to.be.an "array"
    expect(options,"Invalid @options").to.be.an "object"

    @command = command

    @child = _spawn(command,args,options)
    ChildProcess.children[@child.pid] = @child
