Skip to content

command killing ffmpeg simplified

teklabania requested to merge teklabania/Shinobi:dev into dev

ps aux | grep -ie ffmpeg this command will always return a line, even when no ffmpeg process is running. This is because ps will display grep -ie ffmpeg on the process list and grep will match itself. To avoid this you should use a trick: ps aux | grep -ie ffmpeg | grep -v grep or run just a command that was designed for the purpose which is pkill: pkill -9 ffmpeg.

Merge request reports