Problem with tkinter & spawning processes
Gordon McMillan
gmcm at hypernet.com
Wed Mar 15 09:56:10 EST 2000
"nathan" wrote:
> I've tried with
>
> os.system('start "C:\Program Files\Python\Python.exe" -i test.py')
>
> and the new process starts fine. But if I try to get back to the GUI the
> test.py process is killed.
> Then I've tried with the program that you gave me with the link
> Till the following lines it runs
> ...
> try:
> spawnv = os.spawnv
> ..
> but nothing happens :-/
>
> My problem is that the new process that I start from the GUI, must run while
> I 'work' on the GUI.
I've done both of these from a GUI without this problem. BTW,
you either need to use a raw string, or double up those back
slashes.
- Gordon
More information about the Python-list
mailing list