Skip to content
Tcl Source Code Artifact [93c2a273f7]
Login

Artifact [93c2a273f7]

Artifact 93c2a273f75ede8afabe297ecaad70b0dd88b9d2:

Ticket change [93c2a273f7] - New ticket [218422ffffffffff|218422ffff] <i>Exec command escapes quotes</i>. by nobody on 2000-10-26 00:57:25.
D 2000-10-26T00:57:25
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5825\sBug\nVersion:\s8.3.1\nSubmitDate:\s'2000-06-06'\nLastModified:\s'2000-06-06'\nSeverity:\sSER\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sAll\sWindows\nMachine:\sWindows\sNT\sSP5,\s6a,\sWin2000\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-06-06'\n\n\nName:\nEvan\sRempel\n\nReproducibleScript:\nThe\sexec\scommand\sescapes\squotes\swhen\sembedded\sin\sthe\ssub-commands\sarguments.\n\nexec\scmd.exe\s/C\secho\s"one"\st"w"o\none\st\\"w\\"o\n\nexec\scmd.exe\s/C\secho\s{"one"}\s{t""w""o}\n\\"one\\"\st\\"w\\"o\n\nObservedBehavior:\nThis\sis\sundesirable\sbecause\ssome\scommand\sline\scommands\srequire\sarguments\sto\sbe\squoted\sin\svarious\sforms.\n\ncommand\s"first\scommand"\sname="some\sother\sdata"\n\nDesiredBehavior:\nThe\squotes\sshould\snot\sbe\sescaped,\s\n\nexec\scmd.exe\s/C\secho\s{"one"}\s{t""w""o}\n"one"\st"w"o\n\n\n\nThis\sis\sjust\sthe\svisual\srepresentation,\sthere\sare\sno\sphysical\n\\'s\sin\sthe\stext:\n\n(tkcon)\s49\s%\sset\sa\s[exec\s$env(ComSpec)\s/c\secho\s"one"\st"w"o]\none\st\\"w\\"o\n(tkcon)\s50\s%\sstring\slength\s[lindex\s$a\s1]\n5\n\s\n--\s06/06/2000\shobbs
J foundin obsolete:\s8.3.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Exec\scommand\sescapes\squotes
J type Bug
K 218422ffffffffffffffffffffffffffffffffff
U nobody
Z 237ef63a4328c99f41a6ef52015ceab3