#!/bin/bash
-# windows compatible process killer for any stray processes started as
-#"fallout" something.
+# 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
+for procid in $( psfind fallout ); do
+ if [ ! -z "$procid" ]; then
+ taskkill.exe /f /pid ${procid}
+ fi
+done