code: function checkCommand (command, errorCallback) {
      var exec = command
      var args = this.argsExecutable
      var shell = false
      if (this.win) {
        // Arguments have to be manually quoted
        exec = `"${exec}"`
        args = args.map(a => `"${a}"`)
        shell = true
      }
  
      this.log.verbose(`- executing "${command}" to get executable path`)
      this.run(exec, args, shell, function (err, execPath) {
        // Possible outcomes:
        // - Error: not in PATH, not executable or execution fails
        // - Gibberish: the next command to check version will fail
        // - Absolute path to executable
        if (err) {
          this.addLog(`- "${command}" is not in PATH or produced an error`)
          return errorCallback(err)
        }
        this.addLog(`- executable path is "${execPath}"`)
        this.checkExecPath(execPath, errorCallback)
      }.bind(this))
    }
docs: Check if command is a valid Python to use. Will exit the Python finder on success. If on Windows, run in a CMD shell to support BAT/CMD launchers.