Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d935a60c8218d8517a4307c6498218f58fb59576
Ticket: 528669ffffffffffffffffffffffffffffffffff
problem with " in [exec] on windows
User & Date: davygrvy on 2002-03-12 06:23:37
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    running the output of BuildCommandLine thru setargv() I'm 
    getting this error:
    
    % test_passthru {a"b} {cd fg}
    {ab cd} fg
    %
    
    If I change the logic to output the following:
    % test_buildcmdline {a"b} {cd fg}
    "a""b" "cd fg"
    % test_passthru {a"b} {cd fg}
    a\"b {cd fg}
    % exec cmd /c echo {a"b} {cd fg}
    a\"b "cd fg"
    %
    
    It essentially is still wrong calling an external process...
    much thought required for this issue.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. title changed to: "problem with " in [exec] on windows"
  5. username: "davygrvy"