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

Visual Studio Code doesn't open when there is an Admin VSCode open #7153

Closed
swingtempo opened this issue Jun 2, 2016 · 6 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)

Comments

@swingtempo
Copy link

  • VSCode Version: 1.1.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. launch a command line with admin privileges
  2. from this command line, type "code .". Observe VS Code open
  3. Launch a command line without admin privileges
  4. from this command line, type "code .".
    Expected:
    VS Code opens in a new window

Actual:
Nothing, no error message, no indication of anything.

@Tyriar
Copy link
Member

Tyriar commented Jun 2, 2016

Not sure there's a way around this, at least an error message would be good though.

@Tyriar Tyriar self-assigned this Jun 2, 2016
@Tyriar Tyriar added the bug Issue identified by VS Code Team member as probable bug label Jun 2, 2016
@swingtempo
Copy link
Author

Thanks. Is ut not possible to just launch a separate low privilege instance?

@Tyriar
Copy link
Member

Tyriar commented Jun 2, 2016

I don't think so given the way that Electron works, @bpasero will probably know more on the subject.

@bpasero
Copy link
Member

bpasero commented Jun 3, 2016

No there is always just one main process. I think the real issue here is that you are not able to start an instance as admin and not as admin. I wonder if we should just allow to open 2 instances if one is admin and one is not and they just run at the same time side by side. This would however require 2 distinct data directories and extension directories to not cause trouble.

@bpasero
Copy link
Member

bpasero commented Jun 3, 2016

See also: #6560

@Tyriar
Copy link
Member

Tyriar commented Jul 5, 2016

Closing as duplicate of #6560

@Tyriar Tyriar closed this as completed Jul 5, 2016
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 5, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants