-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Unable to spawn Code via child_process.exec #570
Comments
From @Tyriar on November 13, 2015 6:38 I was looking into the same thing you were and I think this is the case because you cannot currently have more than 1 instance of Code open at once. At least on Windows 10, shift+clicking on the app icon or running |
From @bpasero on November 13, 2015 7:53 No thats ok, we detect this case with a socket and communicate to the first instance. |
From @alefragnani on November 13, 2015 9:38 @Tyriar in fact you can, but you have to pass a new folder / file via parameter, while running in Command Prompt.
This issue is while running Code via |
From @mikiest on November 13, 2015 9:43 As mentioned earlier, I think a supported way to open a new instance and/or in the same window, with a folder/file target would be better instead of having to use Maybe something like I confirm I can reproduce the initial issue on my Windows 10, by the way. |
We will work on providing a way to open a folder from an extension. Closing. |
From @alefragnani on November 12, 2015 15:44
When I try to spawn another Code instance using
child_process.exec
, nothing happens (neither an error).Original from issue #84
Copied from original issue: Microsoft/vscode-extensionbuilders#101
The text was updated successfully, but these errors were encountered: