hammerspoon2-docs
    Preparing search index...

    Function shell

    • Run a shell command asynchronously

      Parameters

      • command: string

        Shell command to execute

      • Optionaloptions: Object

        Options (same as hs.task.runAsync())

      Returns Promise<{ exitCode: number; stderr: string; stdout: string }>

      The command's result