mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
02fcb9037b
Thanks to @Markismus's questions, I realized that some of what i thought
was true, wasn't.
First, pkill is a terrible idea to check for interpreted scripts.
Second, pidof is also potentially not that great for interpreted
scripts, because it'll only work with a shebang, and one that is
following the Linux syntax.
We don't have the full version with the -x to paper over that,
so use pgrep -f instead.
cf.
|
9 years ago | |
---|---|---|
.. | ||
android | 9 years ago | |
kindle | 9 years ago | |
kobo | 9 years ago | |
pocketbook | 9 years ago | |
win32 | 10 years ago |