Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a13dc810744a50652483bd3bc3079b0160eed1d
Ticket: 678400ffffffffffffffffffffffffffffffffff
exec quoting problem (io.test fails if wd contains spaces)
User & Date: kennykb on 2003-02-26 04:21:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    
    Andreas's patch fixes all but io-14.9, which appears 
    to be a quoting problem in [exec]. Printing
    the elements of [lindex $argv 0] in the child process
    reveals:
    
    cat = {C:/Documents
    and = Settings/kennykb/My
    Documents/SourceForge/tcl/win/cat} = longfile
    {C:/Documents = and
    Settings/kennykb/My = Documents/SourceForge/tcl/win/longfile}
    script = {C:/Documents
    and = Settings/kennykb/My
    Documents/SourceForge/tcl/win/script} = test1
    {C:/Documents = and
    Settings/kennykb/My = Documents/SourceForge/tcl/win/test1}
    test2 = {C:/Documents
    and = Settings/kennykb/My
    Documents/SourceForge/tcl/win/test2} = test3
    {C:/Documents = and
    Settings/kennykb/My = Documents/SourceForge/tcl/win/test3}
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"