Skip to content

RC_PARAMS environment is not parsed as described in the docs (Windows) #321

@vasil-pashov

Description

@vasil-pashov

According to doc/configuration.md (commit sha c5b0a27)

The configuration string has the format <key1>=<value1> <key2>=<value2> ...

However, when I set RC_PARAMS to seed=1234 and put a breakpoint in MapParser.cpp I found out that the config map has one string key seed=1234 which is empty. If I set RC_PARAMS to be seed = 1234 parses the key/value pair properly. I see two options:

a) Fix the docs and point out that the spaces around = are important
b) Fix the code

I'm happy to open a PR with either of the two changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions