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 &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt; Hi Prashanth,<br>&gt;<br>&gt; The VM that you are using does not include the necessary plugin support<br>&gt; for OSProcess. There are some newer VMs that do have this support,<br>&gt; for example this one:<br>&gt;<br>
&gt;  <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>&gt;<br>&gt; But this will not work with Squeak 3.8.<br>&gt;<br>&gt; Since you are using a Squeak 3.8 image on Windows, I suggest that<br>
&gt; you try using the Process Wrapper package instead of OSProcess.<br>&gt; This is a package written by Levente Uzonyi that should do exactly<br>&gt; what you need. You can find it on SqueakSource:<br>&gt;<br>&gt;  <a href="http://www.squeaksource.com/ProcessWrapper">http://www.squeaksource.com/ProcessWrapper</a><br>
&gt;<br>&gt;  <a href="http://squeaksource.com/@A3eR3kgBj6bF6Btx/uXSs3tq9">http://squeaksource.com/@A3eR3kgBj6bF6Btx/uXSs3tq9</a><br>&gt;<br>&gt; If this does not work for you, please write again and I will try<br>&gt; to find an OSProcess plugin for Windows for you.<br>
&gt;<br>&gt; Dave<br>&gt;<br>&gt;<br>&gt; On Wed, Oct 12, 2011 at 01:23:36PM +0530, Prashanth Hebbar wrote:<br>&gt;&gt; Dave,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;    1. I installed CommandShell and could get working the following commands:<br>
&gt;&gt;    &#39;inspect&#39;, &#39;edit&#39;, &#39;pwd&#39;, etc but nothing beyond it.<br>&gt;&gt;    2. &#39;ruby twt-auth.rb&#39;  inside Squeak Shell throws up an error saying:<br>&gt;&gt;    &#39;cannot access system to run...<br>
&gt;&gt;    3. &quot;(PipeableOSProcess command: &#39;echo test&#39;) output&quot; throws up  a DNU on<br>&gt;&gt;    ExternalWindowsProcess class &gt;&gt; defaultShellPath<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I am trying to trigger a ruby script which posts to twitter.<br>
&gt;&gt;<br>&gt;&gt; My environment:<br>&gt;&gt;<br>&gt;&gt; OS: Windows 7<br>&gt;&gt; Squeak version: 3.8<br>&gt;&gt; Squeak VM version: 3.7.1 (compiled using gcc)<br>&gt;&gt; (also tried it on the latest VM 4.1.1)<br>&gt;&gt;<br>
&gt;&gt; I will continue to investigate. Any pointers on what I am doing wrong will<br>&gt;&gt; help me.<br>&gt;&gt;<br>&gt;&gt; Thanks in advance.<br>&gt;&gt;<br>&gt;&gt; Regards,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Tue, Oct 11, 2011 at 5:02 AM, Prashanth Hebbar &lt;<a href="mailto:hebbarp@gmail.com">hebbarp@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>&gt;&gt; &gt; Dave,<br>&gt;&gt; &gt; Thanks for the pointer. Somehow, I missed the VM part. I will investigate.<br>&gt;&gt; &gt; I am on the road today whole day. Will try this tomorrow (Wednesday ) and<br>&gt;&gt; &gt; report back.<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Regards,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On Monday, October 10, 2011, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>&gt;&gt; &gt; &gt; On Mon, Oct 10, 2011 at 08:58:38PM +0530, Prashanth Hebbar wrote:<br>
&gt;&gt; &gt; &gt;&gt; Hi,<br>&gt;&gt; &gt; &gt;&gt;<br>&gt;&gt; &gt; &gt;&gt; I am trying to trigger a ruby script from within Squeak. I loaded<br>&gt;&gt; &gt; OSProcess<br>&gt;&gt; &gt; &gt;&gt; but none of the examples are working. Are there any pointers on how to<br>
&gt;&gt; &gt; use<br>&gt;&gt; &gt; &gt;&gt; OSProcess correctly.<br>&gt;&gt; &gt; &gt;&gt;<br>&gt;&gt; &gt; &gt;&gt; I am using a 3.8 stable version.<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Hello Prashanth,<br>&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; You can find some general information here:<br>&gt;&gt; &gt; &gt;  <a href="http://wiki.squeak.org/squeak/708">http://wiki.squeak.org/squeak/708</a><br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; OSProcess requires a special plugin for the VM. If OSProcess is not<br>
&gt;&gt; &gt; &gt; working, it is possible that the VM you are running does not contain<br>&gt;&gt; &gt; &gt; this support. Can you say what operating system you are using, and<br>&gt;&gt; &gt; &gt; if possible what VM?<br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; I will mention also that if you want to interact with a ruby script<br>&gt;&gt; &gt; &gt; from Squeak through pipes (in other words, read and write the standard<br>&gt;&gt; &gt; &gt; input and output streams from the ruby program), then you will also<br>
&gt;&gt; &gt; &gt; want to load package CommandShell and use the class PipeableOSProcess.<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Dave<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; &gt; Beginners mailing list<br>&gt;&gt; &gt; &gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>&gt;&gt; &gt; &gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; --<br>&gt;&gt; &gt; Prashanth Hebbar<br>&gt;&gt; &gt; Bangalore<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Prashanth Hebbar<br>&gt;&gt; Bangalore<br>
&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Beginners mailing list<br>&gt;&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>&gt;&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;<br>&gt; _______________________________________________<br>&gt; Beginners mailing list<br>&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;<br><br>-- <br>Prashanth Hebbar<br>Bangalore<br>