             type: 'error'
             source: 'executor'
         messages.push message
-      #else
-      console.log err
+      else
+        console.log err
 
       callback(127, output, error, messages)

      code = data
      callback(code, output, error, messages)
    args = [] unless args?
    console.log command
    console.log args
    console.log options
    bufferedprocess = new BufferedProcess({command, args, options, stdout, stderr, exit})
    bufferedprocess.process.on 'error', (err) =>
      if err.code is 'ENOENT'

    stdout = (data) -> output += data
    stderr = (data) -> error += data
    exit = (data) ->
      if error? and error isnt '' and error.replace(/\r?\n|\r/g, '') is "\'\"" + command + "\"\' is not recognized as an internal or external command,operable program or batch file."
        message =
            line: false
