Skip to content

Adding "--" to argment list may change the argument of the program started by mprof run. #388

Open
@lrtfm

Description

@lrtfm

Consider a program called test.py that may have an option -number -1. Command

mprof run python test.py -number -1

will pass -number -- -1 to test.py, i.e. test.py is started by

python test.py -number -- -1

It seems that the run action doesn't need -- to distinguish the parameters.

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