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

[BUG] Can't pipe commands to code #373

Open
cgomj opened this issue Jan 19, 2024 · 0 comments
Open

[BUG] Can't pipe commands to code #373

cgomj opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working Priority 2 Size: Medium 3 days - 1 week of work

Comments

@cgomj
Copy link

cgomj commented Jan 19, 2024

To Reproduce

pwd | code -

Observed Behavior

Cloudshell code opens with - instead of the result of the pwd command

Expected behavior

Cloudshell code should open with the result of the pwd command

This is an example with the pwd command but in practice it makes sense to pass command outputs to the code application, for example to read the big json responses az cli returns. You can pipe command outputs to code in a Linux machine by piping the command output to code with the hypen but this is not supported in the cloud version. An alternative is to put the output in a file and open the file, for example pwd > out | code out but this is cumbersome.

Is this specific to Cloud Shell?

Yes

Interface information

portal.azure.com cloud shell with bash

Additional context

No

@cgomj cgomj added bug Something isn't working Triage-needed Triage needed by Cloud Shell team labels Jan 19, 2024
@cgomj cgomj changed the title [BUG] [BUG] Can't pipe commands to code Jan 19, 2024
@mbifeld mbifeld added Size: Medium 3 days - 1 week of work Priority 2 and removed Triage-needed Triage needed by Cloud Shell team labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority 2 Size: Medium 3 days - 1 week of work
Projects
None yet
Development

No branches or pull requests

2 participants