Unexpected stderr when trying to open a link
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

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

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
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Autom# ation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="2"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>
PS: System.Management.Automation.PSCustomObject does seem like it has been thrown from a power shell instance, not sure whats exactly happening
关闭于 2025-11-12 1 条评论