Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Other programming languages • Re: Bash - is program running?

$
0
0
I normally use the following to test if XXXX is running

Code:

ps h -C XXXX > /dev/nullif [ $? -eq 0 ]; then           …fi

Statistics: Posted by Milliways — Sat Oct 18, 2025 11:15 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles