[MPlayer-users] Slave Command "run" doesn't reap forks

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Apr 14 08:54:50 CEST 2015


On 08.04.2015, at 19:42, "Amir Hassan" <amir at viel-zu.org> wrote:
> I'm using the run command to periodically print the time_pos and length.
> 
> <code>
> pausing_keep run "echo TIMEPOS: ${time_pos}/${length} > /dev/stdout"
> </code>
> 
> but every call creates a zombie because the fork created for the shell is not waited for.
> i patched command.c to wait for the fork and it works. should i create a patch or is for some reason this behavior intended?

My guess is yes and no.
Not waiting (as in actually blocking) is intended.
I suspect we should periodically (or at least at the next run command) try to get rid of all zombies though.


More information about the MPlayer-users mailing list