×

Run Shell Script

macOS 12 +

Notes

Runs the given shell script

Syntax

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

Example

runShellScript(input: ShortcutInput, script: "echo \", shell: , inputMode: /bin/zsh)