Expand description
Run a Shortcuts workflow by name through the shortcuts binary.
shortcuts run is the documented entry point. The shortcuts binary is
invoked with the workflow name as a single positional argument. A missing
binary surfaces as execution_failed rather than an unsupported error:
the binary is part of macOS but a process running in a sandboxed context
may still see it as absent.
Structs§
- Shortcuts
Report - What
shortcuts runreturned.
Functions§
- run
- Run
shortcuts run <name>and wait for completion. The process is killed afterAPPLE_EVENT_TIMEOUT_SECS(the same timeout the macOS backend applies toosascript).