Skip to content

[Cppia] Sys.args contain name of program file #901

Open
@AlexHaxe

Description

@AlexHaxe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions