I had the same problem, on Mac OS X with Pd-extended 0.41.4

I ran some tests and it seems that relative paths in [shell] just don't work
like they do with the rest of pd. For example, if you have a pd patch in the
same folder as ruby_script.rb, you can't run it simply by using a "ruby
ruby_script.rb" message, you have to do "ruby /full/path/to/ruby_script.rb"
(as opposed to, say, media files or abstractions in the same folder as your
patch).

Both [motex/system] and [ggee/shell] work on my macbook.
(thanks for the list, Hans. I didn't know there were two [popen] objects)


Ben Baker-Smith
--
http://bitsynthesis.com



> There are four options to try, let us know which works best for you:
>
> flatspace/popen
> moonlib/popen
> motex/system
> ggee/shell
>
> .hc
>
> On Jun 28, 2010, at 6:55 PM, Jon wrote:
>
> > hi
> > 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
> >
> > _______________________________________________
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to