Only a joke: #!/bin/sh # /usr/local/killer killall "$@" || killall -9 "$@" exit Adding a -w option might be to risky, since then it might never finish. I hope I didn't make a typo. -- Death of ROXTerm https://sourceforge.net/p/roxterm/discussion/422638/thread/60da6975/