     expect(@child).to.be.null
     expect(command).to.be.a 'string'
     expect(taskName).to.be.a 'string'
+
+    @command = taskName
 
     @child = _exec command, (err, stdout, stderr) =>
       if err?.code? and err.code isnt 0


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



    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
