Home » Questions » Computers [ Ask a new question ]

Ruby script step in Mac Automator workflow does not exit

Ruby script step in Mac Automator workflow does not exit

I have created an Automator workflow in Mac OS X 10.5.8. The workflow is supposed to run a Ruby script and then shutdown the computer.

Asked by: Guest | Views: 231
Total answers/comments: 1
Guest [Entry]

Added exit function to the end of the ruby script. Now the shell script step finishes correctly in Automator and then runs the AppleScript to shutdown the computer.