os.system() inside a thread problem

2004-12-11 Thread Daniel Bernhardt
Hello, my thread calls a program with os.system(). > os.system("/usr/bin/wine /path/to/ultima/online.exe") Ultima Online is starting and i can enter commands and navigate through the game with my keyboard. If I move the mouse over the Ultima Online window Ultima Online crashes. (the mouse just ne

Re: os.system() inside a thread problem

2004-12-11 Thread Daniel Bernhardt
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 th

Re: os.system() inside a thread problem

2004-12-11 Thread Fredrik Lundh
Daniel Bernhardt wrote: > my thread calls a program with os.system(). >> os.system("/usr/bin/wine /path/to/ultima/online.exe") in the example you included, you use execv. which one is it? > Ultima Online is starting and i can enter commands and navigate through the > game with my keyboard. If I