Add support for extracting environment from xonsh.#201036
Add support for extracting environment from xonsh.#201036Tyriar merged 2 commits intomicrosoft:mainfrom
Conversation
2dfe85e to
6da0f6d
Compare
|
I haven't tested this change beyond confirming that Is there a way I can get a build with the change to confirm it fixes the reported issue? |
|
I read the instructions and figured out how to make a local build of VSCode and ran Next, I read the code and learned about |
|
By running with |
|
When I run that command manually it fails thus: Text in that image: |
|
I haven't yet figured out why the invocation of Electron is failing but in c62c575, I replaced the electron invocation with a native JSON rendering of the environment in xonsh, and I've confirmed this approach fixes the issue. Is this approach acceptable? Is there any idea why Electron is failing the way it is? |
Tyriar
left a comment
There was a problem hiding this comment.
As long as the output is identical to the JSON output (or at least parsed in the same way in node), the current approach is fine. It's probably better actually as that way we don't need to launch node.
Let's merge this, please let me know if there are problems with it when it ships as the only way to test this properly is to get a real build post-merge and try launching from the dock.

Closes #200374.