Artifacts Associated With Ticket 3566675fffffffffffffffffffffffffffffffff
Ticket change [7e273011d7] (rid 97357) by pcbnagaraj on 2012-09-11 14:05:39:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Dear Experts, I am using wish for GUI with a widget named "open directory" and linked to command to open the directory, the code is as below . button .b1 -text "Open Config File Directory " -command openconfigfiledir grid .b1 -in . -row 1 -column 0 -sticky ew -padx 5 -pady 5 proc openconfigfiledir {} { set folderpath "c:\test" eval exec [auto_execok explorer] {"$folderpath"} } It works fine in windows 7 but the same on Windows XP hangs. When I kill the program the folder opens. I am novoice in TCL any help is appreciated. Thanks, Nagaraj. - 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: "pcbnagaraj"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
wish widget linked to exec start hangs on windowsxp
- type initialized to: "Bug"
Ticket change [41448ac147] (rid 134812) by dkf on 2013-10-21 18:50:26:
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
Dear Experts, I am using wish for GUI with a widget named "open directory" and linked to command to open the directory, the code is as below . button .b1 -text "Open Config File Directory " -command openconfigfiledir grid .b1 -in . -row 1 -column 0 -sticky ew -padx 5 -pady 5 proc openconfigfiledir {} { set folderpath "c:\test" eval exec [auto_execok explorer] {"$folderpath"} } It works fine in windows 7 but the same on Windows XP hangs. When I kill the program the folder opens. I am novoice in TCL any help is appreciated. Thanks, Nagaraj. - icomment:
Your code would be better off written as: <pre> proc openconfigfiledir {} { set folderpath c:/test exec {*}[auto_execok explorer] [file nativename $folderpath] } </pre> I don't know if that fixes it, but it's how you should do it anyway (if you're not yet using 8.5 or 8.6, you should <i>definitely</i> upgrade; 8.4 is now out of support). Note that support for XP is going to be harder and harder to come by in the future. - login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Invalid"
- severity changed to: "Minor"
- status changed to: "Pending"
- subsystem changed to: "24. Channel Commands"
- username: "dkf"
Ticket change [01878de50d] (rid 258128) by serhiy.storchaka on 2026-10-15 11:29:06:
- icomment: "Closing: no reply since 2013."
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [0c9f077d9e] (rid 259930) by serhiy.storchaka on 2026-10-22 17:19:26:
- closedate changed to: "2461328.978542338"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"