Dave,<br><br>Thank you very much. ProcessWrapper by Levente Uzonyi works for me. I am able to accomplish what I want.<br><br>Regards,<br><br>On Wednesday, October 12, 2011, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
> Hi Prashanth,<br>><br>> The VM that you are using does not include the necessary plugin support<br>> for OSProcess. There are some newer VMs that do have this support,<br>> for example this one:<br>><br>
> <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2499/cogwin.zip">http://www.mirandabanda.org/files/Cog/VM/VM.r2499/cogwin.zip</a><br>><br>> But this will not work with Squeak 3.8.<br>><br>> Since you are using a Squeak 3.8 image on Windows, I suggest that<br>
> you try using the Process Wrapper package instead of OSProcess.<br>> This is a package written by Levente Uzonyi that should do exactly<br>> what you need. You can find it on SqueakSource:<br>><br>> <a href="http://www.squeaksource.com/ProcessWrapper">http://www.squeaksource.com/ProcessWrapper</a><br>
><br>> <a href="http://squeaksource.com/@A3eR3kgBj6bF6Btx/uXSs3tq9">http://squeaksource.com/@A3eR3kgBj6bF6Btx/uXSs3tq9</a><br>><br>> If this does not work for you, please write again and I will try<br>> to find an OSProcess plugin for Windows for you.<br>
><br>> Dave<br>><br>><br>> On Wed, Oct 12, 2011 at 01:23:36PM +0530, Prashanth Hebbar wrote:<br>>> Dave,<br>>><br>>><br>>> 1. I installed CommandShell and could get working the following commands:<br>
>> 'inspect', 'edit', 'pwd', etc but nothing beyond it.<br>>> 2. 'ruby twt-auth.rb' inside Squeak Shell throws up an error saying:<br>>> 'cannot access system to run...<br>
>> 3. "(PipeableOSProcess command: 'echo test') output" throws up a DNU on<br>>> ExternalWindowsProcess class >> defaultShellPath<br>>><br>>><br>>> I am trying to trigger a ruby script which posts to twitter.<br>
>><br>>> My environment:<br>>><br>>> OS: Windows 7<br>>> Squeak version: 3.8<br>>> Squeak VM version: 3.7.1 (compiled using gcc)<br>>> (also tried it on the latest VM 4.1.1)<br>>><br>
>> I will continue to investigate. Any pointers on what I am doing wrong will<br>>> help me.<br>>><br>>> Thanks in advance.<br>>><br>>> Regards,<br>>><br>>><br>>> On Tue, Oct 11, 2011 at 5:02 AM, Prashanth Hebbar <<a href="mailto:hebbarp@gmail.com">hebbarp@gmail.com</a>> wrote:<br>
>><br>>> > Dave,<br>>> > Thanks for the pointer. Somehow, I missed the VM part. I will investigate.<br>>> > I am on the road today whole day. Will try this tomorrow (Wednesday ) and<br>>> > report back.<br>
>> ><br>>> > Regards,<br>>> ><br>>> ><br>>> > On Monday, October 10, 2011, David T. Lewis <<a href="mailto:lewis@mail.msen.com">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<br>>> > OSProcess<br>>> > >> but none of the examples are working. Are there any pointers on how to<br>
>> > 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">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">Beginners@lists.squeakfoundation.org</a><br>>> > > <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
>> > ><br>>> ><br>>> > --<br>>> > Prashanth Hebbar<br>>> > Bangalore<br>>> ><br>>><br>>><br>>><br>>> --<br>>> Prashanth Hebbar<br>>> Bangalore<br>
><br>>> _______________________________________________<br>>> Beginners mailing list<br>>> <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>>> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
><br>> _______________________________________________<br>> Beginners mailing list<br>> <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
><br><br>-- <br>Prashanth Hebbar<br>Bangalore<br>