Overview
| Artifact ID: | 93c2a273f75ede8afabe297ecaad70b0dd88b9d2 |
|---|---|
| Ticket: | 218422ffffffffffffffffffffffffffffffffff
Exec command escapes quotes |
| User & Date: | nobody on 2000-10-26 00:57:25 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 5825 Bug Version: 8.3.1 SubmitDate: '2000-06-06' LastModified: '2000-06-06' Severity: SER Status: Closed Submitter: techsupp ChangedBy: hobbs OS: All Windows Machine: Windows NT SP5, 6a, Win2000 FixedDate: '2000-10-25' ClosedDate: '2000-06-06' Name: Evan Rempel ReproducibleScript: The exec command escapes quotes when embedded in the sub-commands arguments. exec cmd.exe /C echo "one" t"w"o one t\"w\"o exec cmd.exe /C echo {"one"} {t""w""o} \"one\" t\"w\"o ObservedBehavior: This is undesirable because some command line commands require arguments to be quoted in various forms. command "first command" name="some other data" DesiredBehavior: The quotes should not be escaped, exec cmd.exe /C echo {"one"} {t""w""o} "one" t"w"o This is just the visual representation, there are no physical \'s in the text: (tkcon) 49 % set a [exec $env(ComSpec) /c echo "one" t"w"o] one t\"w\"o (tkcon) 50 % string length [lindex $a 1] 5 -- 06/06/2000 hobbs - foundin changed to: "obsolete: 8.3.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Exec command escapes quotes"
- type changed to: "Bug"