Re: clamd checking for running process
I've seen this done by assigning a specific PID to your app when it runs, so that at any time you can check for the existence of that PID when your app is running.
BTW - If you do this, then it also supports another feature you may be interested in... modifying nice to adjust the priority of your app so that it can run as a low priority in the background or as a high priority foreground process if you're in a hurry.
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!