<div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small">Hi Gerald, <br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small">putting all together i found where my mistake was, i was using '..' for quoting instead of " ... ".</div><div class="gmail_default" style="font-family:monospace;font-size:small">Windows ComandShell does not like it and dies silently.<br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small">. So, it seems all works, except the "-headless", as you say.</div><div class="gmail_default" style="font-family:monospace;font-size:small">. I confirm also the output gets written only if I run with SqeuakConsole.exe</div> <br><div class="gmail_default" style="font-family:monospace;font-size:small">I am going open a issue in GitHub on OpenSmalltalkVM if nobody knows the trick</div><div class="gmail_default" style="font-family:monospace;font-size:small">to make "-headless" work. This is quite important, it is not nice at all to see <br></div><div class="gmail_default" style="font-family:monospace;font-size:small">ghost windows running around every time a script gets called (maybe in backgroud).</div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small">bye</div><div class="gmail_default" style="font-family:monospace;font-size:small">Nicola</div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 13, 2022 at 4:11 PM Nicola Mingotti <<a href="mailto:nmingotti@gmail.com">nmingotti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:small">Thank you Gerald ! let me put together your example, the one i found and do some testing. <br></div><div class="gmail_default" style="font-family:monospace;font-size:small">I should be back in a few hours.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 13, 2022 at 3:15 PM Gerald Klix <<a href="mailto:cuis.01@klix.ch" target="_blank">cuis.01@klix.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Nicola,</div><br><div>It isn't a big problem. I could not get it working with the headless stuff,</div><div>but otherwise a batch file with this contents works:</div><br><div><font style="font-family:monospace">IF NOT EXIST Image\Haver6.0-5213.image VM\SqueakConsole -headless Image\Cuis6.0-5171.image -r Haverize --integrate</font></div><div><font style="font-family:monospace">VM\SqueakConsole Image\Haver6.0-5213.image %*</font></div><br><div>I presume you try to display text on the console, which fails with an exception,</div><div>if you use <font style="font-family:monospace">Squeak.exe</font>. </div><div><font style="font-family:monospace">SqueakConsole.exe</font>, however does the trick.</div><br><br><div>HTH,</div><br><div>Gerald</div><div>On Jun 13 2022, at 12:34 pm, Nicola Mingotti via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:</div><blockquote><div><div class="gmail_default"><font style="font-size:small"><font style="font-family:monospace">Hi guys,</font></font></div><div class="gmail_default"><br></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">I am exploring the possibility of running Cuis scripts instead</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">of Python scripts in Windows.</font></font></div></div><div class="gmail_default"><br></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">I know this is more a VM question, just in case you already found</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">and solved this problem before.</font></font></div></div><div class="gmail_default"><br></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">In principle there aren't big problems, if not that i can't convert this Unix line into a working Windows batch file.</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">---- Linux, ok, working</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace"><font style="font-size:9pt"><font style="font-family:"Courier New"">$> ./sqcogspur64linuxht/squeak -vm-display-null Cuis-Smalltalk-Dev/borghiSerialExpoter.image -d 'ScriptXMLToSerialIM9500 test1'.</font></font></font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">----</font></font></div></div><div class="gmail_default"><br></div><div class="gmail_default"><font style="font-size:small"><font style="font-family:monospace">The best approximation i got working is this. So, i miss</font></font></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">1. Possibility to run special code with "-d" or "-s"</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">2. possibility not to see the windows "-vm-display-null"</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">--- starter.bat --------------</font></font></div></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">echo off</font></font></div><div><font style="font-size:small"><font style="font-family:monospace">C:\CUIS\squeak.cog.spur_win64x64\Squeak.exe C:\CUIS\borghiSerialExporter.image</font></font></div><div><font style="font-size:small"><font style="font-family:monospace">REM pause</font></font></div></div><div class="gmail_default"><font style="font-size:small"><font style="font-family:monospace">-----------------------------------------------</font></font></div><div class="gmail_default"><br></div><div class="gmail_default"><div><font style="font-size:small"><font style="font-family:monospace">please let me know if if you know how to fix this.</font></font></div></div><div class="gmail_default"><br></div><div class="gmail_default"><font style="font-size:small"><font style="font-family:monospace">bye</font></font></div><div class="gmail_default"><font style="font-size:small"><font style="font-family:monospace">Nicola</font></font></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div>--</div><div>Cuis-dev mailing list</div><div><a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a></div><div><a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a></div></blockquote></blockquote></div>
</blockquote></div>