hammerspoon2-docs
    Preparing search index...

    Function start

    • Start accepting commands from hs2.

      Registers the IPC broker with launchd (if it isn't already registered) and connects to it. In release builds, only processes signed with the same Team ID can connect. Calling start() when already running logs a warning and does nothing. Problems, such as the broker having been disabled in System Settings, are logged to the console.

      Only one running copy of Hammerspoon 2 can receive commands from hs2 at a time. If another copy calls start(), it takes over, and this copy stops (with a warning in the console).

      Returns void