Problem with tkinter & spawning processes

nathan nnever50 at yahoo.com
Tue Mar 14 08:19:37 EST 2000


Hi all
I've programmed a GUI with Tkinter and I've started  it with the mainloop()
as usual.
Now, I want to start a new process from the GUI, by pressing a button.

I've tried with:
os.system('"C:\Program Files\Python\Python.exe" -i test.py')

The new process starts fine (standard output on the DOS cmmand prompt) nd I
cannot do anything more.
It seems that the new started process blocks the mainloop() thread
How can avoid this?

I work under WinNT, with python 1.5.2 and Tk 8.0.5
Thanks
bye
n.








More information about the Python-list mailing list