   stdoutFunc: (output) =>
     @emitter.emit 'did-write-to-stdout', { message: output }
 
-  onDidWriteToStdout: (callback) =>
+  onDidWriteToStdout: (callback) ->
     @emitter.on 'did-write-to-stdout', callback
 
   stderrFunc: (output) =>
     @emitter.emit 'did-write-to-stderr', { message: output }
 
-  onDidWriteToStderr: (callback) =>
+  onDidWriteToStderr: (callback) ->
     @emitter.on 'did-write-to-stderr', callback
 
   destroy: ->

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

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

    if @inputProvider


    @emitter.emit 'did-exit', { executionTime: executionTime, returnCode: returnCode }

  onDidExit: (callback) ->
    @emitter.on 'did-exit', callback

  createOnErrorFunc: (command) =>
