Skip to content

WSL: does not run through our CLI script #39892

Closed

Description

@spboyer

https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_19.md#pipe-output-directly-into-vs-code

Version 1.19.0-insider
Commit 3656454
Date 2017-12-07T05:15:37.456Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Using WSL as Terminal.

Steps to Reproduce:

  1. Use WSL as Terminal
  2. ps aux | grep code | code-insiders

Does nothing, just line return. Commands without the | return the expected data in terminal window as expected.

image

Activity

  1. added
    terminal
    on Dec 7, 2017
  2. added
    info-needed
    workbench-os-integration
    and removed
    terminal
    on Dec 8, 2017
  3. bpasero commented on Dec 8, 2017

    @bpasero
    Contributor

    Shayne Boyer (@spboyer) can you run ps aux | grep code | code-insiders --verbose and attach the output? Also maybe share your exact setup with WSL so that I can setup my environment like that.

  4. spboyer commented on Dec 11, 2017

    @spboyer
    MemberAuthor
  5. changed the title [-]Pipe output directly into vs code - doesn't work for WSL terminal[/-] [+]WSL: run through our CLI script[/+] on Dec 12, 2017
  6. added
    debt
    and removed
    info-needed
    on Dec 12, 2017
  7. 10 remaining items

  8. Tyriar commented on Dec 18, 2017

    @Tyriar
    Contributor

    Benjamin Pasero (@bpasero)

    then we would execute Code through the windows system again and we would basically end up not running Code through the WSL

    Yes, we only support launching the Windows executable via WSL. It is possible to run the Linux version by installing an server but it can be hard to get working and is flaky/weird. AFAIK the console team doesn't recommend launching GUI apps via WSL generally.

    actually is sounds like #13138 (comment) is exactly the solution to that problem with a wslpath script

    Yeah that's to convert the paths, I didn't move on that because wslpath looked so large (and was python), we'd probably want to roll our own converter in the CLI JS.

  9. added
    windows
    on Jun 21, 2018
  10. bpasero commented on Jul 8, 2018

    @bpasero
    Contributor

    Isn't this fixed?

  11. Tyriar commented on Jul 9, 2018

    @Tyriar
    Contributor

    Was merged in May, not the right issue annotation on the PR though #44945

  12. added
    bug
    and removed
    debt
    on Jul 9, 2018
  13. locked and limited conversation to collaborators on Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

WSLbugverifiedwindowsworkbench-os-integration

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions