Prev: Looking for updated info on tclsoap and in particular SOAP::WSDL
Next: tk::mac::ShowPreferences in Tcl/Tk Linux version? [solved]
From: Andreas Leitgeb on 1 Mar 2010 11:36 Glenn Jackman <glennj(a)ncf.ca> wrote: > Really to reply to the "keith"s > For Windows particularly: > eval exec [auto_execok start] "" [list $url_or_file &] > The empty string is to set the cmd window title for the start command. Whatever it was supposed to be for, it won't work that way, because the empty string doesn't survive the "eval" - i.e. exec doesn't even get to see it. > If the url or filename contains a space, Windows will helpfully use the > first space-delimited component as the cmd window title instead of > actually passing the whole thing to 'start'. For that to happen, the "" must be moved: [list "" $url_or_file &]. (No windows here, so I can't test the positive case, myself)
From: Glenn Jackman on 1 Mar 2010 11:48
At 2010-03-01 11:36AM, "Andreas Leitgeb" wrote: > Glenn Jackman <glennj(a)ncf.ca> wrote: > > Really to reply to the "keith"s > > For Windows particularly: > > eval exec [auto_execok start] "" [list $url_or_file &] > > The empty string is to set the cmd window title for the start command. > > Whatever it was supposed to be for, it won't work that way, because > the empty string doesn't survive the "eval" - i.e. exec doesn't even > get to see it. Right. Thanks for catching that. > > If the url or filename contains a space, Windows will helpfully use the > > first space-delimited component as the cmd window title instead of > > actually passing the whole thing to 'start'. > > For that to happen, the "" must be moved: [list "" $url_or_file &]. -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous |