[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Boot parameter -headless ignored in Windows 10 (Issue #639)

Dr. Nicola Mingotti notifications at github.com
Mon Jun 13 15:54:33 UTC 2022


Hi, 
I am trying to deploy CuisSmalltalk as a scripting language in Windows 10. 
I am running the latest release of the VM
 `Win32 built on Jun  2 2022 15:29:46 Compiler: Clang 14.0.3 [Production Spur 64-bit X64 VM]`.
I got almost all working but I found this little roadblock.
As far as I can say the "-headless" parameter is ignored in Windows 10. 
---- demo, headless is ignored. 
```
win cmd> C:\CUIS\squeak.cog.spur_win64x64\SqueakConsole.exe -headless C:\CUIS\Cuis6.0-5031.image 
                                -d "StdIOWriteStream stdout nextPutAll: 'hello world'; newline." 
                                -d "Smalltalk quit."

=> hello world   [ headless is not working, if you remove the 'Smalltalk quit' you will see the window is well alive].
```

By comparison the parameter "-vm-display-null" works very well in Linux. 
---- demo, fully working, windows ghost popping up as in Linux. 
```
$> ./sqcogspur64linuxht/squeak -vm-display-null Cuis-Smalltalk-Dev/Cuis6.0-5031.image 
           -d "StdIOWriteStream stdout nextPutAll: 'Hello World'; newLine" 
           -d 'Smalltalk quit.' 

=> Hello World     [and goodbye]
```


bye
Nicola




-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/639
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/639 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220613/c8db0754/attachment.html>


More information about the Vm-dev mailing list