Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode is sharing environment variables between 2 unrelated instances #82107

Closed
psclkhoury opened this issue Oct 8, 2019 · 2 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@psclkhoury
Copy link

If I launch 2 different vscode instances from two different command prompts on windows, the second instance of vscode will end up getting the environment variables of the first instance.

  • VSCode Version: 1.38.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. launch 2 different command prompts on windows
  2. in the first one, type set zzz=ZZZ
  3. launch code
  4. from the second command prompt, launch another instance of code
  5. go to the terminal of both instances and check the environment variables, both of them will have the environment variable zzz

I tried it also with Git Bash on windows and the same thing happens.

@vscodebot
Copy link

vscodebot bot commented Oct 8, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@Tyriar
Copy link
Member

Tyriar commented Oct 8, 2019

This is by design currently as the windows share the same "main process".

/duplicate #15452

@Tyriar Tyriar closed this as completed Oct 8, 2019
@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 8, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants