       atom.beep()
 
   getPath: (callback) ->
+    { spawn } = require "child_process"
+    { platform } = require "os"
+
     # If stored, return pathToISCC
     pathToISCC = atom.config.get("language-innosetup.pathToISCC")
     if pathToISCC.length > 0

  consumeConsolePanel: (@consolePanel) ->

  buildScript: (consolePanel) ->
    editor = atom.workspace.getActiveTextEditor()

    unless editor?

        atom.notifications.addError("**#{meta.name}**: `ISCC.exe` is not in your PATH [environmental variable](http://superuser.com/a/284351/195953)", dismissable: true)

  which: ->
    { platform } = require "os"

    if platform() is "win32"
      return "where"
    
