Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 787360d42f92bddd7dc0478e275e836e1ec5da43e42a25640d6d4d798a4174fa
Ticket: f91ab723f3dfbc0d2b720a70a1fa09eebfa1cde5
exec+wish fails to handle windows batch file with arguments and spaces
User & Date: anonymous on 2024-02-28 00:41:10
Changes

  1. icomment:
    Note that the code line,
    
    if (TclWinGetPlatformId() == VER_PLATFORM_WIN32_NT) {
    
    is no longer in 9.0b1, which was where I was getting the problem with cmd.exe /c and the quoting.
    
    For 8.6.13, I couldn't tell exactly what command line was being generated, and so having just built 9.0b1 from source, I used that to instrument the code. I did see it take the path and build up the cmd.exe /c so that should be fixed regardless.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"