<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><br><div><div>On Jun 28, 2010, at 8:27 PM, Ben Baker-Smith wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I had the same problem, on Mac OS X with Pd-extended 0.41.4</div><div><br></div><div>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).</div> <div><br></div><div>Both [motex/system] and [ggee/shell] work on my macbook.</div><div>(thanks for the list, Hans. I didn't know there were two [popen] objects)</div><div><br></div><div><br></div><div>Ben Baker-Smith</div> <div>--<br><a href="http://bitsynthesis.com">http://bitsynthesis.com</a><br><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "> <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">There are four options to try, let us know which works best for you:<br><br>flatspace/popen<br>moonlib/popen<br> motex/system<br>ggee/shell<br><br>.hc<br><br>On Jun 28, 2010, at 6:55 PM, Jon wrote:<br><br>&gt; hi<br>&gt; i'm trying to execute a ruby script from the shell object by sending<br>&gt; it the message "ruby /path/to/script.rb arguments" but i get nothing.<br> &gt; the script works fine from the command line, with the exact same<br>&gt; arguments. is there an alternative?<br>&gt; i'm on osx, latest stable pd extended<br>&gt; thank you<br>&gt;<br>&gt; _______________________________________________<br> &gt;&nbsp;<a href="mailto:Pd-list@iem.at" style="color: rgb(0, 101, 204); ">Pd-list@iem.at</a>&nbsp;mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt;&nbsp;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" style="color: rgb(0, 101, 204); ">http://lists.puredata.info/listinfo/pd-list</a></span></blockquote> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits.&nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>- Martin Luther King, Jr.</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>