         error.stdout = stdout
         error.stderr = stderr
         callback(error)
-
-    @runCommand(args, exit)
 
   getAvailable: ->
     if @packages?

    {name, theme} = pack
    atom.packages.deactivatePackage(name) if atom.packages.isPackageActive(name)

    args = ['uninstall', name]
    exit = (code, stdout, stderr) =>
      if code is 0
        atom.packages.unloadPackage(name) if atom.packages.isPackageLoaded(name)
        callback?()

    new BufferedNodeProcess({command, args, stdout, stderr, exit})

  loadAvailable: (callback) ->
    @runCommand ['available', '--json'], (code, stdout, stderr) =>
      if code is 0
        try
          @packages = JSON.parse(stdout) ? []
