-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
How to reproduce
Use the Snippet service on an UTF-8 string like ƒ, and the following error is thrown:
The action “Execute a Shell script” encountered an error.
The catch
The behavior is related to Automator, because directly using the Ruby script works — eg ruby snippet.rb ƒ. Maybe this is related to #1.
The fix
Using Python instead of Ruby fixes it. Will submit PR in a few moments. Points:
- By default, Mac OS X is distributed with Python 2 linked to
/usr/bin/python. - Automator can execute Python scripts as easily as Ruby.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels