tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No luck trying to pkill play_vk with escape


From: Nate Bargmann
Subject: Re: No luck trying to pkill play_vk with escape
Date: Fri, 27 Aug 2021 21:25:05 -0500

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

[Prev in Thread] Current Thread [Next in Thread]