run a Shell Script via Terminal window?

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

Moderators: Mr_Noodle, Moderators

run a Shell Script via Terminal window? Sat Jul 08, 2023 7:31 am • by danydoll
I currently have a rule that performs "Run Shell Script" via an Embedded Script on matching files.

The embedded script executes some Python code, and it prints some results, etc, based on the matching file as an input. Via the Run Shell Script method, the textual output of the embedded shell script and the resulting Python code is "invisible" insofar as I can't see the Python print outputs (perhaps they are accessible via a Hazel log or something).

However, I'd like effectively run the script via Terminal (launch a new window/tab), so I can see the outputs there. Is this possible?
danydoll
 
Posts: 1
Joined: Sat Jul 08, 2023 7:28 am

Re: run a Shell Script via Terminal window? Tue Jul 11, 2023 8:38 am • by Mr_Noodle
Maybe use an AppleScript to run the script in Terminal?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion

cron