#!/bin/sh process="$1" shift if [ -z "$process" ]; then echo "Usage: $(basename "$0") <process-name>" >&2 exit 1 fi my-killall "$process" exec "$process" "$@"