Re: run runs away

2005-11-29 Thread Nx
Thanks for your reply ! I now realize , that the run() used in this code stems from a def , which actually wraps os.spawnv(os.P_WAIT, ...) in a way that eliminates waiting I like this newsgroup as there are always people who are less stumped than oneself. Nx -- http://mail.python.org/mailma

Re: run runs away

2005-11-29 Thread Fredrik Lundh
"Nx" wrote: > Here is a code snippet: > > # next lines calls python2.4 32 bit version > # from a script running in python2.3 64 bit version > run("python2.4", "dbviewmaster.py") > # I want the following only to run after > # running of python2.4 has finished > self.textBrowser1.reload > f = open(s

Re: run runs away

2005-11-29 Thread jepler
"run" is not the name of a Python built-in function. That leaves everyone but you somewhat in the dark about why it does or does not wait for the created process to complete. If you want a function that starts a new process and waits for it to complete, you probably want to use os.spawnv(os.P_WAI

run runs away

2005-11-29 Thread Nx
Hello I think my question is how to make the script wait until it returns from a call to run() Here is a code snippet: # next lines calls python2.4 32 bit version # from a script running in python2.3 64 bit version run("python2.4", "dbviewmaster.py") # I want the following only to run after