trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2019

[SOLVED] Re: Re: how to control a process programmatically

From: deloptes <deloptes@...>
Date: Sat, 16 Nov 2019 20:04:04 +0100
Dr. Nikolaus Klepp wrote:

> What about using "pidof" inside a popen() call? If returns number ->
> program lives, if not, it's not running.
> 

Hi,
I ended up with a mixture of dcop and your suggested pidof inside a popen().
pidof inside popen() I can use for non TDE application. dcop I used for TDE
unique application. It works nice.

thank you

regards