[PD] run ruby script from [shell]?
matju at artengine.ca
Tue Jun 29 01:05:16 CEST 2010
On Tue, 29 Jun 2010, Jon wrote:
> i'm trying to execute a ruby script from the shell object by sending it
> the message "ruby /path/to/script.rb arguments" but i get nothing. the
> script works fine from the command line, with the exact same arguments.
> is there an alternative? i'm on osx, latest stable pd extended thank you
What do you expect ? Is it supposed to give you some text on its stdout ?
Does it work in the case where your programme is instead writing to a
file ? Can it be a matter of finding the programme ? What if you specify
the complete name of ruby, such as /usr/bin/ruby ? Is the programme's
arguments sensitive to the default directory (relative filenames) in a way
that can make it fail ? etc...
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list