Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b40598dafc57c55f53b66920ed54342b67658f9566aff0d744117a74aefd275b
Ticket: f91ab723f3dfbc0d2b720a70a1fa09eebfa1cde5
exec+wish fails to handle windows batch file with arguments and spaces
User & Date: serhiy.storchaka on 2026-10-25 08:54:48
Changes

  1. icomment:
    Rebased the fix onto main as [/timeline?r=bug-f91ab723f3-quoting-main|bug-f91ab723f3-quoting-main]: the command after <code>cmd.exe /c</code> is enclosed in double quotes, and the closing quote is added in BuildCommandLine() before the conversion to WCHAR. Tested on Windows 11 with wish and tclsh.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"