I have a script that works correctly from the console, but when triggered from Hazel it always results in an error:
- Code: Select all
2012-07-29 06:12:54.501 hazelworker[4919] [Error] Shell script failed: Error processing shell script on file /Users/alex/Dropbox/Elements/process_me/blog-nosql-2.md.
2012-07-29 06:12:54.501 hazelworker[4919] Shellscript exited with non-successful status code: 1
The rule matches based on a name and extension filter and then triggers the script by using the following embedded script:
- Code: Select all
/Users/alex/workspace/python/markdown/mkdn/autoprocess.py "$1"
exit $?
My script never returns status code 1, so there must be something else stopping Hazel from running this script, but I have no ideas.
Thanks in advance for any help or suggestions,
A://