Artifacts Associated With Ticket 528669ffffffffff
Ticket change [77d543b38b] (rid 89841) by davygrvy on 2002-03-11 21:12:54:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% exec cmd /c echo " \" % exec cmd /c echo a="b" a=\"b\" double quotes are getting a literal backslash placed in front of it. This isn't a blind pass-through. The attached patch seems to fix this. It needs more testing. % exec cmd /c echo a="b" a="b" % exec cmd /c echo "b" b % exec cmd /c echo "b a" "b a" % exec cmd /c echo a="b"as a="b"as % exec cmd /c echo \\ \ % exec cmd /c echo \\\\ \\ % exec cmd /c echo {\\\\} \\\\ % exec cmd /c echo {\\} \\ - foundin initialized to: "obsolete: 8.4a5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davygrvy"
- subsystem initialized to: "None"
- title initialized to: "problem with " in [exec] on windows"
- type initialized to: "Bug"
Add attachment "patch.txt" [5a89527bd3] (rid 118156) by davygrvy on 2002-03-12 04:12:54.
Ticket change [bbcde9d2ae] (rid 129551) by davygrvy on 2002-03-12 04:12:54:
- icomment:
File Added - 19187: patch.txt
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [fcce350a5d] (rid 108304) by davygrvy on 2002-03-12 05:11:51:
- icomment:
File Added - 19193: patch.txt Logged In: YES user_id=7549 Just added my thoughts on setargv() from win/tclAppInit.c I changed it to grab the unicode command line and convert it down to oem. This partialy addresses the i18n bug, but Tcl_Main() still wants a dirty argv instead of clean utf-8, so this change doesn't do anything useful. GetCommandLineW() is supported on *ALL* Win32 platforms!
- login: "davygrvy"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "davygrvy"
- icomment:
Add attachment "patch.txt" [d2d8ea56d9] (rid 113601) by davygrvy on 2002-03-12 05:11:51.
Ticket change [3b592ad7a6] (rid 112727) by davygrvy on 2002-03-12 05:12:10:
- assignee changed to: "hobbs"
- title changed to: "problem with " in [exec] on windows"
Ticket change [d935a60c82] (rid 107570) by davygrvy on 2002-03-12 06:23:37:
- 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. - login: "davygrvy"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "davygrvy"
- icomment:
Ticket change [aa47fa7c36] (rid 99302) by davygrvy on 2002-03-12 06:35:36:
- icomment:
Logged In: YES user_id=7549 The previous example of calling [exec] was flawed! please ignore my error.
- login: "davygrvy"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "davygrvy"
- icomment:
Ticket change [64cdeb97e2] (rid 92836) by davygrvy on 2002-03-12 06:43:52:
- icomment:
Logged In: YES user_id=7549 I'm all confused about this. please test.
- login: "davygrvy"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "davygrvy"
- icomment:
Ticket change [301ba393b5] (rid 93191) by hobbs on 2002-04-23 08:22:15:
- icomment:
Logged In: YES user_id=72656 why are these changes in tclAppInit.c expected to effected the command line process " handling? Or are both patches expected to be added?
- login: "hobbs"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "hobbs"
- icomment:
Ticket change [648557eaa2] (rid 92786) by davygrvy on 2002-05-31 05:08:04:
- icomment:
Logged In: YES user_id=7549 You can forget the tclAppInit.c change. That's me trying to fix the unicode bug. As Tcl_Main expects a dirty argv[], one can't send it unicode anyways. Not even if GetCommandLineW is supported on all Win32 OSes. Which it is, oddly enough. Maybe we could split Tcl_Main into two commands where Tcl_Main does the native conversion up to unicode then calls (maybe) Tcl_MainUni that does all the work as before but argv [] is an array of Tcl_UniChar pointers (??) Yeah, this has nothing to do with the quote bug, though.
- login: "davygrvy"
- mimetype: "text/plain"
- title changed to: "problem with " in [exec] on windows"
- username: "davygrvy"
- icomment:
Ticket change [bc9f419c3f] (rid 101781) by davygrvy on 2004-01-29 07:46:10:
- assignee changed to: "davygrvy"
Ticket change [711040554c] (rid 100607) by davygrvy on 2004-02-01 16:27:15:
- closedate changed to: "2004-02-01T09:27:15"
- closer changed to: "davygrvy"
- icomment:
Logged In: YES user_id=7549 This is bogus...
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "davygrvy"