Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7550acb2e3338a01c0a405f946bcc235f45f2dad
Ticket: 554068ffffffffffffffffffffffffffffffffff
Windows: [exec] doesn't quote special chars
User & Date: vincentdarley on 2002-06-14 18:45:39
Changes

  1. icomment:
    
    
    File Added - 25100: tclWinPipe.c.diff
    
    Logged In: YES 
    user_id=32170
    
    This is then, presumably a bug in 'BuildCommandLine' 
    in tclWinPipe.c, since the argc/argv values have simply 
    been passed along from Tcl.
    
        BuildCommandLine(execPath, argc, argv, &cmdLine);
    
        if ((*tclWinProcs->createProcessProc)(NULL, 
        (TCHAR *) Tcl_DStringValue(&cmdLine), 
    NULL, NULL, TRUE, 
        (DWORD) createFlags, NULL, NULL, 
    &startInfo, &procInfo) == 0) {
    ...
    
    Had a look, and the fix is easy.  Please see attached 
    patch for fix and test of the fix.  I've tested the fix and 
    Tcl passes all tests, so I think this should be applied to 
    cvs head.
    
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. username: "vincentdarley"