Skip to main content
added 1 character in body
Source Link
JPX
  • 553
  • 2
  • 4
  • 13

I found this kind of solution. While loop waits until omxplayer orand fbi process has ended and then next image or video can be shown.

while ps ax | grep -v grep | grep -E "omxplayer|fbi" > /dev/null; do 
    sleep 0.1
done

I found this kind of solution. While loop waits until omxplayer or fbi process has ended and then next image or video can be shown.

while ps ax | grep -v grep | grep -E "omxplayer|fbi" > /dev/null; do 
    sleep 0.1
done

I found this kind of solution. While loop waits until omxplayer and fbi process has ended and then next image or video can be shown.

while ps ax | grep -v grep | grep -E "omxplayer|fbi" > /dev/null; do 
    sleep 0.1
done
Source Link
JPX
  • 553
  • 2
  • 4
  • 13

I found this kind of solution. While loop waits until omxplayer or fbi process has ended and then next image or video can be shown.

while ps ax | grep -v grep | grep -E "omxplayer|fbi" > /dev/null; do 
    sleep 0.1
done