Use a Terminal window to run a Shell script?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Hello, I've created a rule that uses an embedded script to "Run Shell Script" on files that match.

The embedded script takes the matching file as an input and executes some Python code, outputs some results, etc. The text output of the embedded shell script and the generated Python code are "invisible" when using the Run Shell Script method since I cannot see the Python print outputs (maybe they are available via a Hazel log or something).

To see the results, however, I would want to execute the script in Terminal (by opening a new window or tab). Is it viable to achieve this?
CindyrimesS
 
Posts: 1
Joined: Thu May 15, 2025 12:39 am

Script output does appear in the logs if you turn on debug mode as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

Or you can have your script use the 'open' command to open your script in Terminal.
Mr_Noodle
Site Admin
 
Posts: 11888
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion