X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Fscripts%2Fgames%2Fzap_fallout.sh;fp=scripts%2Fcustomize%2Ffred%2Fscripts%2Fgames%2Fzap_fallout.sh;h=21e1ddf55d1593a0dfa73e9e6831a59d1f55f101;hb=dcd689910fd9c9c01ccabdfd95c1c23a06705166;hp=0000000000000000000000000000000000000000;hpb=055e141d757f14777e90ed06fef6a5393b8ea53c;p=feisty_meow.git diff --git a/scripts/customize/fred/scripts/games/zap_fallout.sh b/scripts/customize/fred/scripts/games/zap_fallout.sh new file mode 100644 index 00000000..21e1ddf5 --- /dev/null +++ b/scripts/customize/fred/scripts/games/zap_fallout.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# windows compatible process killer for any stray processes started as +#"fallout" something. + +source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh + +procid="$( psa fallout | tail -n 1 | awk '{ print $1; }' )" + +if [ ! -z "$procid" ]; then + taskkill.exe /f /pid ${procid} +fi