Dave,<div><br></div><div><ol><li>I installed CommandShell and could get working the following commands: &#39;inspect&#39;, &#39;edit&#39;, &#39;pwd&#39;, etc but nothing beyond it.</li><li>&#39;ruby twt-auth.rb&#39;  inside Squeak Shell throws up an error saying: &#39;cannot access system to run...</li>
<li>&quot;(PipeableOSProcess command: &#39;echo test&#39;) output&quot; throws up  a DNU on ExternalWindowsProcess class &gt;&gt; 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">&lt;<a href="mailto:hebbarp@gmail.com" target="_blank">hebbarp@gmail.com</a>&gt;</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 &lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt; On Mon, Oct 10, 2011 at 08:58:38PM +0530, Prashanth Hebbar wrote:<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; I am trying to trigger a ruby script from within Squeak. I loaded OSProcess<br>&gt;&gt; but none of the examples are working. Are there any pointers on how to use<br>


&gt;&gt; OSProcess correctly.<br>&gt;&gt;<br>&gt;&gt; I am using a 3.8 stable version.<br>&gt;<br>&gt; Hello Prashanth,<br>&gt;<br>&gt; You can find some general information here:<br>&gt;  <a href="http://wiki.squeak.org/squeak/708" target="_blank">http://wiki.squeak.org/squeak/708</a><br>


&gt;<br>&gt; OSProcess requires a special plugin for the VM. If OSProcess is not<br>&gt; working, it is possible that the VM you are running does not contain<br>&gt; this support. Can you say what operating system you are using, and<br>


&gt; if possible what VM?<br>&gt;<br>&gt; I will mention also that if you want to interact with a ruby script<br>&gt; from Squeak through pipes (in other words, read and write the standard<br>&gt; input and output streams from the ruby program), then you will also<br>


&gt; want to load package CommandShell and use the class PipeableOSProcess.<br>&gt;<br>&gt; Dave<br>&gt;<br>&gt; _______________________________________________<br>&gt; Beginners mailing list<br>&gt; <a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>


&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>&gt;<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>