Page 1 of 1

Running shell script on debug mode/normal mode

PostPosted: 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?

Re: Running shell script on debug mode/normal mode

PostPosted: Wed Feb 26, 2020 10:30 am
by Mr_Noodle
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.