Skip to content

Fix CLI handling of --folder-uri when used with other flags like --wait#302519

Open
omwanere wants to merge 1 commit intomicrosoft:mainfrom
omwanere:fix-folder-uri-cli
Open

Fix CLI handling of --folder-uri when used with other flags like --wait#302519
omwanere wants to merge 1 commit intomicrosoft:mainfrom
omwanere:fix-folder-uri-cli

Conversation

@omwanere
Copy link

Normalize URI values passed through --folder-uri before resolving them.
This prevents Electron argument parsing issues where URI schemes containing
':' can interfere with argument ordering when combined with flags such as --wait.

Tested with:
--folder-uri --wait
--wait --folder-uri

Both now open correctly.

@vs-code-engineering
Copy link
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/platform/windows/electron-main/windowsMainService.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants