Dave,<div><br></div><div><ol><li>I installed CommandShell and could get working the following commands: 'inspect', 'edit', 'pwd', etc but nothing beyond it.</li><li>'ruby twt-auth.rb' inside Squeak Shell throws up an error saying: 'cannot access system to run...</li>
<li>"(PipeableOSProcess command: 'echo test') output" throws up a DNU on ExternalWindowsProcess class >> defaultShellPath</li>
</ol></div><div><br></div><div>I am trying to trigger a ruby script which posts to twitter.</div><div><br></div><div>My environment:</div><div><br></div><div>OS: Windows 7</div><div>Squeak version: 3.8</div><div>Squeak VM version: 3.7.1 (compiled using gcc)</div>
<div>(also tried it on the latest VM 4.1.1)</div>
<div><br></div><div>I will continue to investigate. Any pointers on what I am doing wrong will help me.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div><br></div><div><br><div class="gmail_quote">
On Tue, Oct 11, 2011 at 5:02 AM, Prashanth Hebbar <span dir="ltr"><<a href="mailto:hebbarp@gmail.com" target="_blank">hebbarp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dave,<br>Thanks for the pointer. Somehow, I missed the VM part. I will investigate. I am on the road today whole day. Will try this tomorrow (Wednesday ) and report back.<br><br>Regards,<div><div></div><div><br>
<br>On Monday, October 10, 2011, David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>> wrote:<br>
> On Mon, Oct 10, 2011 at 08:58:38PM +0530, Prashanth Hebbar wrote:<br>>> Hi,<br>>><br>>> I am trying to trigger a ruby script from within Squeak. I loaded OSProcess<br>>> but none of the examples are working. Are there any pointers on how to use<br>
>> OSProcess correctly.<br>>><br>>> I am using a 3.8 stable version.<br>><br>> Hello Prashanth,<br>><br>> You can find some general information here:<br>> <a href="http://wiki.squeak.org/squeak/708" target="_blank">http://wiki.squeak.org/squeak/708</a><br>
><br>> OSProcess requires a special plugin for the VM. If OSProcess is not<br>> working, it is possible that the VM you are running does not contain<br>> this support. Can you say what operating system you are using, and<br>
> if possible what VM?<br>><br>> I will mention also that if you want to interact with a ruby script<br>> from Squeak through pipes (in other words, read and write the standard<br>> input and output streams from the ruby program), then you will also<br>
> want to load package CommandShell and use the class PipeableOSProcess.<br>><br>> Dave<br>><br>> _______________________________________________<br>> Beginners mailing list<br>> <a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>><br><br></div></div><font color="#888888">-- <br>Prashanth Hebbar<br>
Bangalore<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Prashanth Hebbar<br>Bangalore<br>
</div>