os.system() inside a thread problem

Daniel Bernhardt daniel.bernhardt at uni-duesseldorf.de
Sat Dec 11 16:38:36 CET 2004

Fredrik Lundh wrote:

> in the example you included, you use execv.  which one is it?

it should be system(). I just played a bit and forgot to change it back. 

> just curious: do you really have to use a thread?  why not just do
>    os.system(command + "&")

No, i don't need to use a thread. I just wanted learn something about it and
thought it would be a good start.
I will use "os.system(command + "&")" as you said to solve the problem. 

More information about the Python-list mailing list