[Cuis-dev] vm command line parameters in Windows
Nicola Mingotti
nmingotti at gmail.com
Mon Jun 13 07:11:44 PDT 2022
Thank you Gerald ! let me put together your example, the one i found and do
some testing.
I should be back in a few hours.
On Mon, Jun 13, 2022 at 3:15 PM Gerald Klix <cuis.01 at klix.ch> wrote:
> Hi Nicola,
>
> It isn't a big problem. I could not get it working with the headless stuff,
> but otherwise a batch file with this contents works:
>
> IF NOT EXIST Image\Haver6.0-5213.image VM\SqueakConsole -headless
> Image\Cuis6.0-5171.image -r Haverize --integrate
> VM\SqueakConsole Image\Haver6.0-5213.image %*
>
> I presume you try to display text on the console, which fails with an
> exception,
> if you use Squeak.exe.
> SqueakConsole.exe, however does the trick.
>
>
> HTH,
>
> Gerald
> On Jun 13 2022, at 12:34 pm, Nicola Mingotti via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
> Hi guys,
>
> I am exploring the possibility of running Cuis scripts instead
> of Python scripts in Windows.
>
> I know this is more a VM question, just in case you already found
> and solved this problem before.
>
> In principle there aren't big problems, if not that i can't convert this
> Unix line into a working Windows batch file.
> ---- Linux, ok, working
> $> ./sqcogspur64linuxht/squeak -vm-display-null
> Cuis-Smalltalk-Dev/borghiSerialExpoter.image -d 'ScriptXMLToSerialIM9500
> test1'.
> ----
>
> The best approximation i got working is this. So, i miss
> 1. Possibility to run special code with "-d" or "-s"
> 2. possibility not to see the windows "-vm-display-null"
> --- starter.bat --------------
> echo off
> C:\CUIS\squeak.cog.spur_win64x64\Squeak.exe
> C:\CUIS\borghiSerialExporter.image
> REM pause
> -----------------------------------------------
>
> please let me know if if you know how to fix this.
>
> bye
> Nicola
>
>
>
>
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220613/7269f27e/attachment.htm>
More information about the Cuis-dev
mailing list