<div dir="ltr">Thanks for your answers.<div>Alas ExternalCommandShell does not seem to work, the VM seems to wait forever.</div><div>I also tried various other ways:</div><div>"OSProcess thisOSProcess stdOut nextPutAll: 'Hello world'."</div><div>"FileStream stdout nextPutAll: 'Hello world'."</div><div>"StandardFileStream stdout nextPutAll: 'Hello world'."<br><div class="gmail_extra"><div class="gmail_quote">"TranscriptStream redirectToStdOut: true. Transcript show: 'Hello world'."</div><div class="gmail_quote">... but so far none of them seems to work.</div><div class="gmail_quote">I also tried "-headless" and "-vm-display-null", but again this does not seem to help.</div><div class="gmail_quote">Any pointer would be appreciated!</div><div class="gmail_quote"><br></div><div class="gmail_quote">2017-02-22 15:49 GMT+01:00 H. Hirzel <span dir="ltr"><<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Maybe<br>
<br>
      ExternalCommandShell<br>
<br>
     <a href="http://wiki.squeak.org/squeak/6023" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/<wbr>6023</a><br>
<br>
this is of some help?<br>
<br>
--Hannes<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
On 2/22/17, Göran Krampe <<a href="mailto:goran@krampe.se">goran@krampe.se</a>> wrote:<br>
> On 21/02/17 20:51, Jacques Harmand wrote:<br>
>> Hi list,<br>
>> I try to use squeak to execute the following basic Smalltalk script (in<br>
>> a file "<a href="http://hello.st" rel="noreferrer" target="_blank">hello.st</a> <<a href="http://hello.st" rel="noreferrer" target="_blank">http://hello.st</a>>")<br>
>> "Transcript show: 'Hello world'; cr."<br>
>> from the command line with Squeak.  This works as expected with both GNU<br>
>> Smalltalk and Pharo, but with Squeak nothing happens: Squeak seems to<br>
>> wait forever.  If I add<br>
>> "Smalltalk snapshot: false andQuit: true."<br>
>> after the above line, the execution of the script terminates, but<br>
>> without printing anything.<br>
><br>
> I haven't looked closely at latest Squeak (perhaps Pharo has coupled<br>
> Transcript to stdout for headless mode?), but Transcript is not the same<br>
> thing as stdout - so you wouldn't see anything on stdout.<br>
><br>
> regards, Göran<br>
> ______________________________<wbr>_________________<br>
> Beginners mailing list<br>
> <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.<wbr>squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/mailman/listinfo/beginners</a><br>
><br>
______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.<wbr>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div></div></div>