Sample Test Shellscript non-successful status code: -900

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

Moderator: Mr_Noodle

EDIT: Figured this one out by myself (again!). The embedded script was missing the forward slash for the shell (i.e. I had "bin/zsh" instead of "/bin/zsh". Again, feel free to delete this thread or leave it here for others to find in the future! Thanks.

Hey Mr. Noodle,

I am getting `Shellscript exited with non-successful status code: -900` when running the following sample script show in Hazel's documentation.

Code: Select all
 #!/bin/zsh

say “The file $1 matches this rule’s conditions.”


I couldn't find anything online about this exit status. Though I did find this thread on the forum with someone who had the same issue. I enabled Hazel Debug mode and this is what I see in the log:

Code: Select all
2023-01-03 09:14:53.050 hazelworker[5526] untitled folder: Rule TEST matched.
2023-01-03 09:14:53.050 hazelworker[5526] DEBUG: Got error last time. Re-trying actions.
2023-01-03 09:14:53.052 hazelworker[5526] Exception caught while executing shell script: launch path not accessible
2023-01-03 09:14:53.052 hazelworker[5526] [Error] Shell script failed: Error processing shell script on file /Users/diego/Files_MAC/Creation/Video/EXP (Hazel)/untitled folder.
2023-01-03 09:14:53.052 hazelworker[5526] Shellscript exited with non-successful status code: -900
2023-01-03 09:14:53.052 hazelworker[5526] DEBUG: Tapping error retry sequence


I also tried Revoking Full Disk Access by removing hazel from the list, rebooting and then adding it back.

What could be the matter? Here's the rule just so you know:

https://imgur.com/a/cUm2raW

Thank you.
proactivematter
 
Posts: 12
Joined: Mon Jan 07, 2019 7:03 pm

Return to Support