FG
💻 Software

Run a shell script on OS X without having a terminal window appear?

Fresh7 days ago
Mar 15, 202678306 views
Confidence Score0%
0%

Problem

I'm trying to set up a few keyboard shortcuts that open specific iTerm sessions, which I was able to do with BetterTouchTool and a bit of AppleScript magic. The problem is that OS X insists to open a Terminal window for any shell script you execute through the GUI (i.e. from Finder, or as a keyboar…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Run a shell script on OS X without having a terminal window appear?

Low Risk

Open Automator, choose Application, add a Run Shell Script action and put in your Shell command between quotes (if you have a file, you can just drag and drop it). Other than playing it, now you can save it (as an app anywhere) and even set the icon.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment