Skip to content

System.getEnv does not update between different runs  #257

@Baccata

Description

@Baccata

This is most likely a downside of keeping a daemon jvm, but it makes it impossible to use environment variables as inputs.

Maybe the mill launcher should pass the full environment to the program as a hidden parameter, which would allow for mill to provide a default Map[String, String] input ?

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