×

Run Shell Script

macOS 12 +

Notes

Runs the given shell script

Syntax

runShellScript(input: <#Variable#>, script: <#String (Allows Variables)#>, shell: <#Enumeration (Shell)#>, inputMode: <#Enumeration (InputMode)#>)

Example

runShellScript(input: ShortcutInput, script: "echo "Hello World"", shell: /bin/zsh, inputMode: as arguments)