A thought I just had, is I wonder if threading has anything to do with
this?  While pgrep only returns one PID when Tlf is running, htop shows
two PIDs.

Oddly, I figured calling pkill via system() would as the same method is
used to kill rec from the sound recorder menu.

I've seen mention that this might require fork() and exec() to start the
call to play_vk manually so that the PID is known and then use kill() on
it.  I doubt I'll get to it before tomorrow morning!

73, Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature

Reply via email to