#!/usr/bin/env bash RUN_STRING=$1 KILL_STRING=${RUN_STRING//" & "/" "} killall $KILL_STRING || true exec sh -c "$RUN_STRING"