Hello,
In Haxe 4 preview 5 the built in script no longer works correctly when it comes to parsing the command and arguments. Running haxelib run hxp myArg myOtherArg on the example script in the readme gets you the following output for command and commandArgs.
Hello, In Haxe 4 preview 5 the built in script no longer works correctly when it comes to parsing the command and arguments. Running
haxelib run hxp myArg myOtherArg
on the example script in the readme gets you the following output forcommand
andcommandArgs
.I'm guessing its to do with this issue which was fixed in preview 5 (https://github.com/HaxeFoundation/haxe/issues/7185) as reverting to preview 4 causes everything to work as expected.