[Newbies] Using squeak with a script?

Jacques Harmand jacques.harmand at gmail.com
Tue Feb 21 19:51:48 UTC 2017


Hi list,
I try to use squeak to execute the following basic Smalltalk script (in a
file "hello.st")
"Transcript show: 'Hello world'; cr."
from the command line with Squeak.  This works as expected with both GNU
Smalltalk and Pharo, but with Squeak nothing happens: Squeak seems to wait
forever.  If I add
"Smalltalk snapshot: false andQuit: true."
after the above line, the execution of the script terminates, but without
printing anything.
I use the Squeak 5.0-201608171728 VM and the Squeak5.1-16548 image.
Any hints?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20170221/a9057f68/attachment.html>


More information about the Beginners mailing list