Skip to content

env variables broken on OS X #4672

Closed
Closed

Description

In the VS Code alpha 51209bb
task are no longer working:

2016-03-25 14-24-14

Reverting the latest commit related to env vars (4cd1c0f) seems to fix this problem.

On OS X the env command does not support a --null option:

2016-03-25 14-11-34

Activity

  1. added
    bug
    important
    on Mar 25, 2016
  2. Tyriar commented on Mar 25, 2016

    @Tyriar
    Contributor

    Thanks for reverting Andre Weinand (@weinand), looking at this now.

  3. Tyriar commented on Mar 25, 2016

    @Tyriar
    Contributor

    The problem with not using --null is that multi-line vars can always break the system. Consider the following:

    export TEST_ENV_VAR="Multi
    LINE=string"
    

    Which is output in env or printenv as:

    TEST_ENV_VAR=Multi
    LINE=string
    
  4. Tyriar commented on Mar 25, 2016

    @Tyriar
    Contributor

    Lists all environment variables names: compgen -A variable

    It seems to include additional ones on top of env though.

  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugimportant

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions