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 standard input or output. Does

  os.system("mplayer *.mpg")

do what you want?

regards
 Steve

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to