in reply to Starting another Tk GUI MainLoop

It sounds like you want to "fork-and-exec" the second program, then it will run it's own mainloop in a separate process. If you just want a button to launch it, look at Tk::ExecuteCommand, which can be incorporated into your program #1, to launch program #2. Your big concern is whether you need "data" returned from prog #2 to be used by prog #1.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Starting another Tk GUI MainLoop
by Ace128 (Hermit) on Jul 18, 2005 at 13:21 UTC
    Gonna check this out aswell. This time I dont think I need to any communication between the two scripts... (return data from #2 to #1). In this case the answer from Ultra seems better.