Running shell script on debug mode/normal mode

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Running shell script on debug mode/normal mode Wed Feb 26, 2020 4:01 am • by sjoonk
I am testing Hazel's "Running shell script" action.

When i enable the "Debug Mode", my script works successfully.
But when i restore to normal mode(disable the "Debug Mode"), the same script not work with error.

Is there some difference between "Debug Mode" and normal node?
Why the same script work differently?

I'd like to inspect the error, but i can't.
When i enable the debug mode, the error gone.
After i disable the debug mode, the error back again. sadly.

Any idea?
sjoonk
 
Posts: 1
Joined: Wed Feb 26, 2020 3:53 am

Debug mode should only redirect stdout and stderr to Hazel's logs. I suggest having your script writing out to a file instead so you can see what's happening.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support