     else
       callback(new Error("apm failed with code: #{code}"))
 
-  new BufferedProcess({command, args, stdout, exit})
+  new BufferedNodeProcess({command, args, stdout, exit})
 
 install = ({name, version}, callback) ->
   activateOnSuccess = !atom.isPackageDisabled(name)

      actom.activatePackage(name) if activateOnFailure
      callback(new Error("Installing '#{name}' failed."))

  new BufferedProcess({command, args, exit})

uninstall = ({name}, callback) ->
  atom.deactivatePackage(name) if atom.isPackageActive(name)

BufferedNodeProcess = require 'buffered-node-process'
roaster = require 'roaster'
async = require 'async'

