Tcl Source Code

Check-in [30bc26a91e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [6dacb3b6f0] and [f91ab723f3]: append the closing quote for "cmd.exe /c" in BuildCommandLine(), before the conversion to WCHAR. Appending it to the converted string added a single byte to a wide string and corrupted the command line.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | bug-f91ab723f3-quoting
Files: files | file ages | folders
SHA3-256: 30bc26a91e7bb32bf2ebda63484ef6c431084da5dfdaaba1ed58daee700636fe
User & Date: serhiy.storchaka 2026-10-14 14:55:19.986
References
2026-10-14
14:58 • Ticket [f91ab723f3] exec+wish fails to handle windows batch file with arguments ... artifact: d9c873ecad user: serhiy.storchaka
Context
2026-10-25
08:53
Rebase of bug-f91ab723f3-quoting to main. Fix [6dacb3b6f0] and [f91ab723f3]: put the command after "... check-in: e8d1e56815 user: serhiy.storchaka tags: bug-f91ab723f3-quoting-main
2026-10-14
14:55
Fix [6dacb3b6f0] and [f91ab723f3]: append the closing quote for "cmd.exe /c" in BuildCommandLine(), ... closed check-in: 30bc26a91e user: serhiy.storchaka tags: bug-f91ab723f3-quoting
2024-02-26
13:29
Bug: [f91ab723f3]: possible solution to add quoting "" for cmd.exe /c argument check-in: 0530fbcf2d user: oehhar tags: bug-f91ab723f3-quoting
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tclWinPipe.c.