const REAP_SCRIPT: &str = r#"pkill -KILL -f "$1" || true i=0 while pgrep -f "$1" >/dev/null 2>&1; do i=$((i+1)) if [ "$i" -gt 20 ]; then echo alive; exit 1; fi sleep 0.5 done echo gone"#;
$1 the process pattern.
$1