[MPlayer-users] Controlling/restart several instances of mplayer

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Sep 21 14:20:33 CEST 2007


Hello,
On Fri, Sep 21, 2007 at 12:22:18PM +0200, "Thomas  Röhm" wrote:
> I´m running serveral streaming-instances of mplayer. Is there a way to check out the PID of each instance or save the PID during the start in a variable to check if it´s still running?
> My goal is to restart a instance automatically if the stream hung up.
> Any idea is appreciated.

Read the manual of your shell. If it is bash, esp. $! and jobs -p.

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list