On Windows running with Haxe 4, the first argument is dropped. If the first argument is followed by an input value, that input value will not be recognized as an argument, and IHx will not start.
Examples:
haxelib run ihx -lib ihxneko run.n -lib ihx
Will both trigger the error.
I'm guessing in older Haxe versions, Sys.args() would come with an extra value on Windows? Here is the line of code causing the error, I assume it is there for a reason that doesn't need to be anymore.
thanks for reporting. yeah, windows used to need that. I haven't used windows in a long time. if you send a PR I'll take it. I don't want to just take it out and push without being able to test.
On Windows running with Haxe 4, the first argument is dropped. If the first argument is followed by an input value, that input value will not be recognized as an argument, and IHx will not start.
Examples:
haxelib run ihx -lib ihx
neko run.n -lib ihx
Will both trigger the error.I'm guessing in older Haxe versions,
Sys.args()
would come with an extra value on Windows? Here is the line of code causing the error, I assume it is there for a reason that doesn't need to be anymore.