Suggestion: Add options/arguments field to Execute a Shell Script

It would be awesome to have the ability to specify options/arguments when executing a script file.

Here's how JetBrains IDEs handle it:

For a reference, here's Keyboard Maestro

image

Instead of using "Execute Script File" click on it, and use "Execute Text Script"

Put the script plus whatever arguments you want in that.

(might want to use "$HOME" instead of /Users/strajk too, BTW)

1 Like

@tjluoma first of all, thx and sorry for a late reply :slight_smile:

Execute Text Script works like a charm :clap:

Only thing I miss from Execute Script File is easier passing of Clipboard as stdin

Before
image

After
image

It's already there. See Execute a Shell Script action

and another example using the "With input from text" option:

image

1 Like

Very cool!

So I've refactored
image
to just
image

and everything works fine :slight_smile:
Thanks for teaching me some more unix magic :slight_smile:

1 Like