     @disposables.add atom.config.observe 'haskell-ghc-mod.maxBrowseProcesses', (value) =>
       @commandQueues.browse = new Queue(value)
 
-  getVersion: (rootDir) ->
-    Util.getProcessOptions(rootDir)
+  getVersion: (procopts) ->
+    procopts
     .then (opts) ->
       opts1 = {}
       for k, v of opts


  initBackend: (rootDir) ->
    return @backend.get(rootDir) if @backend.has(rootDir)
    vers = @getVersion(rootDir)
    vers.then (v) =>
      @checkComp(rootDir, v)

    backend =
      vers

            Util.debug "Ghc-mod #{vers} built with #{comp}"
            resolve {vers, comp}

  checkComp: (procopts, {comp}) ->
    procopts
    .then (opts) ->
      opts1 = {}
      for k, v of opts
