if I didn't misunderstand UNIX signals too much, there are a few
signals which can't be ignored. That means, after an optional signal
handling routine has been run, the deconstruction and remove of the
specific process is (or should be) enforced by the OS itself. SIGKILL,
SIGSEGV, SIGILL should at
Hi Richard;
Thank you for your additional input.
Apparently I was over-thinking pgrep+pkill in my earlier attempts.
I have implemented your suggestions in my script and it appears to work fine.
Thanks,
Ken Wolcott
On Fri, Apr 7, 2023 at 9:27 PM Richard L. Hamilton wrote:
>
> Not seeing
If you're trying to be exact and ONLY get the process you're probably
interested in, here's a scenario:
sh-3.2$ pgrep -lf CARROT # list process-id and full command line
911 /Applications/CARROTweather.app/Contents/MacOS/CARROTweather
sh-3.2$ pgrep -l CARROT # list process-id and just command nam
Thank you, you have provided lots of help which I need to fully digest..
Ken
On Sat, Apr 8, 2023 at 5:09 PM Richard L. Hamilton wrote:
>
> If you're trying to be exact and ONLY get the process you're probably
> interested in, here's a scenario:
>
> sh-3.2$ pgrep -lf CARROT # list process-id and