Now I did another experiment.  First I ran from one xterm:

  $ mpv --no-config video.mp4

I opened a second xterm and run:

  $ kill -SIGTSTP $(pgrep mpv)
  $ kill -SIGCONT $(pgrep mpv)
 
That didn'nt work.  But using SIGSTOP:

  $ kill -SIGSTOP $(pgrep mpv)
  $ kill -SIGCONT $(pgrep mpv)

Works fine.  This means that mpv will respond to SIGCONT only when it
was suspended with SIGSTOP.

What I don't understand is if the code catches SIGSTOP to ^Z.  Why it
doesn't work when it does from the terminal?


-- 
Walter

Reply via email to