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

Pipe error when calling vscode from WSL #3854

Closed
alanlivio opened this issue Oct 15, 2020 · 1 comment
Closed

Pipe error when calling vscode from WSL #3854

alanlivio opened this issue Oct 15, 2020 · 1 comment
Labels
wsl Issue in vscode-remote WSL

Comments

@alanlivio
Copy link

Is it possible use vscode and pipes from WSL?

From a WSL, I called

alan@local:~$ cmd.exe /c 'code --list-extensions'|grep ms

and I get

net.js:320
      err = this._handle.open(fd);
                         ^

Error: EINVAL: invalid argument, uv_pipe_open
    at new Socket (net.js:320:26)
    at createWritableStdioStream (internal/process/stdio.js:179:18)
    at process.getStderr [as stderr] (internal/process/stdio.js:40:14)
    at Object.get (internal/console/constructor.js:158:40)
    at Object.Console.<computed> (internal/console/constructor.js:276:46)
    at Object.warn (internal/console/constructor.js:287:61)
    at writeOut (internal/process/warning.js:27:3)
    at process.onWarning (internal/process/warning.js:79:3)
    at process.emit (events.js:223:5)
    at internal/process/warning.js:52:24
    at processTicksAndRejections (internal/process/task_queues.js:76:11) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'uv_pipe_open'
}
@github-actions github-actions bot added the wsl Issue in vscode-remote WSL label Oct 15, 2020
@aeschli
Copy link
Contributor

aeschli commented Nov 5, 2020

The uv_pipe_open error 's a WSL issue. I see you already filed it: microsoft/WSL#6104.

You can use pipes with WSL code cli, but --list-extensions is not supported in the WSL code cli.

@aeschli aeschli closed this as completed Nov 5, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

2 participants