 
     @emitter.emit 'did-exit', { executionTime: executionTime, returnCode: returnCode }
 
-  onDidExit: (callback) =>
+  onDidExit: (callback) ->
     @emitter.on 'did-exit', callback
 
   createOnErrorFunc: (command) =>

  run: (command, extraArgs, codeContext) ->
    @startTime = new Date()

    @bufferedProcess = new BufferedProcess({
      command,
      @args(codeContext, extraArgs),
      @options(),
      @stdoutFunc,
      @stderrFunc,
      @onExit
    })

    if @inputProvider

      @emitter.emit 'did-not-run', { command: command }
      nodeError.handle()

  onDidNotRun: (callback) ->
    @emitter.on 'did-not-run', callback

  options: ->
