[PyQt] Popen + poll & pid

Kevin fossks at cox.net
Sat Mar 8 19:53:39 GMT 2008


I've been trying to use the poll and pid attributes of popen to  
determine if mplayer is finished playing an audio track. I've tried  
using popen, popen2, popen3, etc but it tells me that there is no poll  
or PID module.

Could anyone help me with a proper method to determine if a process is  
running or ended so that I can move to the next track and start  
another iteration?

Either that or does someone know how to change audio cd tracks in  
mplayer slave mode?  ;)

Kevin


Sent from my iPhone


More information about the PyQt mailing list