Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 067a80adb38e94f33ffb51592739448b933761c5
Ticket: 672938ffffffffffffffffffffffffffffffffff
Bad exec behaviour at Tcl 8.4.1
User & Date: davygrvy on 2003-01-24 05:30:28
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    There is a double-quote problem in the current behavior of 
    BuildCommandLine().  Somehow this was recently broken.
    
    if the commandline is this to CreateProcess():
    a.exe b c=""d""
    
    _SHOULD_ expand to an argv array of
    argv[0] = a.exe
    argv[1] = b
    argv[2] = c="d"
    
    if the commandline is this to CreateProcess():
    a.exe b "c = d"
    
    _SHOULD_ expand to an argv array of
    argv[0] = a.exe
    argv[1] = b
    argv[2] = c = d
    
    GetCommandLine()->argv processing is done by the C-
    runtime of the process launched.  It is out of Tcl's control.  If 
    some processes follow the quoting rules and others do not...  
    then we're fighting a losing battle.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"