[MACTCL] exec another wish in background
by Robert Karen other posts by this author
Feb 28 2007 1:55PM messages near this date
Re: [MACTCL] changing icon for tkaqua BI
|
Re: [MACTCL] changing icon for tkaqua BI
Sorry to bother y'all again. I'm working on some things I haven't
much experience with.
I have an 8.4.5 BI standalone Wish.app that calls scripts, which at some pt.
try to exec the same Wish.app (i.e. open a second instance of
the same application) using either of the lines of
code below, but I am
having trouble exec'ing it in the background. When I add an
ampersand to either of the methods below, the app never appears
and without it, it looks like the exec never returns and the
child app remains part of the parent.
set cmd [list exec [info nameofexecutable] sessionid
$loginForThisSessionGl
obal $id &]
set cmd [list exec
/Users//robert/desktop/eztabWith8.4.5//openNewSession.sh
[info nameofexecutable] sessionid $loginForThisSessionGlobal $id ]
catch $cmd ...
where openNewSession.sh is something like
#!/bin/sh
Wish.app/....../MacOS/Wish $@ &
On Windows, the first of the two worked as I expected but not on osx.
Thanks for any help!
Robert Karen
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-mac mailing list
tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Alastair Davies
Philip Aker
Robert Karen
Jon Guyer
Jeff Hobbs
Jon Guyer
Jeff Hobbs
David Zolli
Jon Guyer
Tim Jones
Jon Guyer
David Zolli
Jon Guyer
Jon Guyer
Jeff Hobbs
Robert Karen
Kevan Hashemi
David Zolli
Kevin Walzer
Jeff Hobbs
Robert Karen
Jon Guyer
Robert Karen
Kevin Walzer
Jon Guyer
Robert Karen
Robert Karen
Tim Jones
Robert Karen
Jon Guyer
Kevin Walzer
Jim Ingham
Jasper Taylor
Clarke
|