HaxeFoundation / HaxeFoundation/hxcpp
[Cppia] Sys.args contain name of program file
Open
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
When running `haxelib run hxcpp myProgram.cppia -v` or `bin/Cppia myProgram.cppia -v` calling `Sys.args ()` will return `["myProgram.cppia", "-v"]` instead of just `["-v"]` (like e.g. a cpp compiled version does).
According to https://api.haxe.org/Sys.html argument list should not contain interpreter nor name of program file.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.