bpipe
bpipe copied to clipboard
Check that at least the pid belongs to a java process before killing it
Hopefully pidof is portable...
With any luck, this fixes #244
Hmm, just testing on my Mac I don't seem to have pidof - might have to do something cruder like ps -efa | grep java?
Make sure you stick to POSIX options of ps in case OSX and Linux are different...