alexrait1 wrote:
It does but that's not what I want. I need a class which I can query
for process termination for instance...
Is there a way to overcome this problem with Popen3?
If you're using Python 2.4 you should look into the subprocess module.
I think these docs might be what you're looking
It does but that's not what I want. I need a class which I can query
for process termination for instance...
Is there a way to overcome this problem with Popen3?
--
http://mail.python.org/mailman/listinfo/python-list
alexrait1 wrote:
I launch my python. Then I write this:
import popen2
popen2.Popen3("mplayer *.mpg")
it starts playing for 2 seconds.. and then stops...
if I quit python (ctrl - D)
mplayer continues to run and plays music as it should...
Any ideas?
It looks like the process you start is blocking on
I launch my python. Then I write this:
import popen2
popen2.Popen3("mplayer *.mpg")
it starts playing for 2 seconds.. and then stops...
if I quit python (ctrl - D)
mplayer continues to run and plays music as it should...
Any ideas?
--
http://mail.python.org/mailman/listinfo/python-list