ITADN

Unexpected stderr when trying to open a link

#348ClosedParasaran-Python 创建于 2024-10-07
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](https://github.com/user-attachments/assets/c1e15aab-e486-4310-8e50-34578201f4cb) This way. Though the link opens fine in the configured browser, we encounter an stderr, for some unknown reason. ![image](https://github.com/user-attachments/assets/0de21e6d-9342-4681-a544-a1498d512e45) 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 条评论