psfind is now working pretty great, whereas the psa script is busted on windoze now.
this new approach also doesn't just zap one process, but zaps every fallout process it finds.
#!/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