Anything/extensions using execFile targetting something installed via snap (Linux packages) swallow stdout #75581
Labels
linux
Issues with VS Code on Linux
*out-of-scope
Posted issue is not in scope of VS Code
snap
Issues related to the snap package
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Electron/vscode (not sure which but guessing vscode), seems to swallow stdout when executing something that was installed via snap on Linux.
Steps to Reproduce:
sudo snap install hello-world
) but I started noticing the problem with go, so let's stick with that:And the end of that, you should have a go binary available at
/snap/bin/go
(which symlinks to/usr/bin/snap
)For comparison, manually install a go distribution. At the end of that you should have a go binary available at
/usr/local/go/bin/go
.Debug a node app (I first noticed a problem when debugging the vscode-go extension). Create an empty directory and add a new app.js file with these contents and launch a debugger:
You will see:
what you would expect to see is:
Incidentally/correspondingly, when you run
node app.js
in an integrated terminal within vscode you get the unexpected output while if you run the same command outside vscode in a terminal you get the expected output.Does this issue occur when all extensions are disabled?: Yes
This issue seems identical/related but I will say I installed the exact same node version (10.15.2) and invoked the node repl in a terminal and ran this:
and I got back what I would expect:
So, that leads me to at least narrow it down to being a vscode/electron issue rather than a broader node issue.
The text was updated successfully, but these errors were encountered: