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

Unexpected stderr when trying to open a link #348

Open
Parasaran-Python opened this issue Oct 7, 2024 · 1 comment
Open

Unexpected stderr when trying to open a link #348

Parasaran-Python opened this issue Oct 7, 2024 · 1 comment

Comments

@Parasaran-Python
Copy link

Parasaran-Python commented Oct 7, 2024

As we know VSCode IDE has capability to open external links in configured browser, when "workbench.externalBrowser" config is set to a value, the IDE uses this (open) library to open the external link

image

This way.

Though the link opens fine in the configured browser, we encounter an stderr, for some unknown reason.

image

Tried grabbing the system command thats generated over here thats eventually executed and the browser is opened, ran the same on a cmd instance.

To my surprise I dont see any error being thrown on, the stack is clean, the browser opens fine.

Please help us understand the reason for the stderr. 🙂

This is the data in the stderr stream

#< CLIXML
System.Management.Autom# ation.PSCustomObjectSystem.Object1Preparing modules for first use.0-1-1Completed-1 2Preparing modules for first use.0-1-1Completed-1 2Preparing modules for first use.0-1-1Completed-1

PS: System.Management.Automation.PSCustomObject does seem like it has been thrown from a power shell instance, not sure whats exactly happening

@Parasaran-Python
Copy link
Author

Parasaran-Python commented Oct 7, 2024

Attaching the issue opened in Code-OSS repo: microsoft/vscode#230636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant