         #     important: true
         #   # -----------------------------------------------------------------------
 
+  ## Killing processes ---------------------------------------------------------
+
   killProcessOnDarwinAndLinux: (parentPid) ->
     # get child process IDs
     try

      out = ''
      wmicProcess.stdout.on 'data', (data) ->
        out += data
      wmicProcess.stdout.on 'close', ->
        # get child process pids
        childPids = out.split(/\s+/)
                      .filter (pid) -> /^\d+$/.test(pid)

      @killProcessOnDarwinAndLinux(childPid)

    # kill parent process
    try process.kill(parentPid)

  # NOTE stolen from Atom's BufferedNodeProcess API (Oops!)
  killProcessOnWin32: (parentPid) ->
