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

Amir Hassan amir at viel-zu.org
Wed Apr 8 19:42:52 CEST 2015


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?

I am using MPlayer SVN-r37386-snapshot-4.9.2.

greets,
amir


More information about the MPlayer-users mailing list