<i>Windows: [exec] doesn't quote special chars</i> status still Closed with 4 other changes
by
.
D 2004-02-26T01:24:18
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nThe\sreal\sproblem\shere\sis\sthat\scygwin's\scat.exe\sdoesn't\sparse\s\nits\scommandline\sproperly.\s\sHacks\sfor\scat\scan\sbe\sadded\sto\sthe\s\ncore,\sbut\sthen\sall\sother\suses\sof\s'{'\sin\sthe\scommandline\sstring\s\nwill\sbe\sparsed\simproperly\sby\sall\sother\sapplications\sincluding\s\ntclsh\sand\swish\sthemselves.\s\sThe\spass-thru\smust\sbe\sidentical.\n\necho.tcl:\nforeach\sarg\s$argv\s{\nputs\s$arg\n}\n\n%\sexec\s[info\sname]\secho.tcl\sfoo\s\\{\\[\sbar\nfoo\n{[\nbar\n%\n\nIf\sthe\sabove\scan\snot\sbe\sidentical,\sthen\scat.exe\sis\sin\serror,\snot\s\nus.\s\sBefore\sthe\sfix\sfrom\syesterday\sthat\swas\sadded\sto\sthe\s84\s\nbranch,\s{\swould\shave\shad\sa\s\\\sin\sfront\sof\sit\sthat\sthe\sMS\s\nparse_cmdline\sroutine\swould\snot\sstrip\soff.\s\sAgain,\scat.exe\sis\sin\s\nerror,\snot\sus.\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 554068ffffffffffffffffffffffffffffffffff
U davygrvy
Z 08b9ac168601047d7545d91f649f6b51