<div dir="ltr">Apparently I can just copy Smalltalk.app/Contents/MacOS/Squeak to /usr/local/bin which is in my PATH. No need to create a symbolic link. But it still doesn't work. After doing that, when I enter "Squeak -h" it just hangs.<div><br></div><div>Does anyone on the mailing list have experience running Smalltalk programs from the command line?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2024 at 8:04 PM Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can someone that uses Smalltalk on a Mac confirm whether this is the correct way to obtain a VM executable?<div><br></div><div>- Browse <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm</a><br>- Under "Releases" on the right side, click "Latest".<br>- Click the proper file for your operating system and processor.<br>  For example, `squeak.cog.spur_macos64ARMv8.dmg`.<br>- Double-click the downloaded file to install it which will result in <font face="monospace">Squeak.app</font><br clear="all"><div>- Create a symbolic link to the virtual machine that is inside this app</div>  by entering the following:</div><div><br></div><div>  <font face="monospace">ln -s "./Squeak.app/Contents/MacOS/Squeak" squeak-vm</font></div><div><br></div><div>- Execute a file containing Smalltalk code using that VM executable with the following:</div><div><br></div><div>  squeak-vm {path-to-cuis-base-image} -s <a href="http://demo.st" target="_blank">demo.st</a></div><div><br></div><div>  where <a href="http://demo.st" target="_blank">demo.st</a> contains something like the following:</div><div><br></div><div><font face="monospace">| stdout |<br>stdout := StdIOWriteStream stdout.<br>stdout nextPutAll: 'Hello, World!'.<br>Smalltalk quit</font><br></div><div><br></div><div>When I do this, I don't get an error, but I don't get any output and the VM doesn't exit.</div><div><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div>