Artifacts Associated With Ticket 1546827fffffffff
Ticket change [7350ed5166] (rid 105027) by suchenwi on 2006-08-25 18:24:18:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Win XP, 8.4.12 % exec echo {"a b"} "a b\ % exec echo {"a,b"} ,b" (the last also beeped, probably taking \a too literally) Background: we need to call cacls \some\file /x /y "Authorized Users":f and I could no way to do this with exec - the last word seems always to go wrong. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "suchenwi"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "exec fails on explicit quotes"
- type initialized to: "Bug"
Ticket change [49929743c1] (rid 100076) by dgp on 2006-08-27 10:46:39:
- assignee changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=80530 This only happens on Windows, where apparently there's no good interface to pass argument words separately.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "27. Channel Types"
- username: "dgp"
Ticket change [2f0623ddb0] (rid 92985) by dkf on 2006-08-28 01:09:30:
- foundin changed to: "obsolete: 8.4.12"
- icomment:
Logged In: YES user_id=79902 suggested workaround: write a temporary batch file that contains the awkward command invokation, and run that.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [4f6d5ca307] (rid 125826) by suchenwi on 2006-08-28 14:51:39:
- icomment:
Logged In: YES user_id=1478027 Even simpler workaround (found on the Wiki): exec cmd << "echo \"a,b\"\n"
- login: "suchenwi"
- mimetype: "text/plain"
- username: "suchenwi"
- icomment:
Ticket change [f9ca5685a6] (rid 91757) by mpc_janssen on 2006-09-22 16:38:38:
- icomment:
Logged In: YES user_id=1463011 If it is possible to use additional extensions, TWAPI can be used to achieve the desired effect. package require twapi ::twapi::create_process {} -cmdline {cacls c:\test.txt /P "Authorized Users":f} -showwindow hidden - login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [3240385724] (rid 93580) by dkf on 2012-05-30 17:35:56:
- closedate changed to: "2012-05-30T10:35:56"
- closer changed to: "dkf"
- icomment:
Since this is tangled up in the mess of Windows' command line parsing (bottom line: each program can do its own whimsical thing, and too many do exactly that) I see no prospect of ever making this much better than what we have now. It's a horrible compromise.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Pending"
- username: "dkf"
Ticket change [0ee75ff4e4] (rid 135558) by dkf on 2013-11-12 12:36:32:
- assignee changed to: "aku"
- closedate changed to: "2456609.02537341"
- comment changed to:
Win XP, 8.4.12 % exec echo {"a b"} "a b\ % exec echo {"a,b"} ,b" (the last also beeped, probably taking \a too literally) Background: we need to call cacls \some\file /x /y "Authorized Users":f and I could no way to do this with exec - the last word seems always to go wrong. - login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"