Commit 3b98f638 authored by Greg Williams's avatar Greg Williams
Browse files

Merge branch 'feature/upgrade_proto_v3.0.5' of...

Merge branch 'feature/upgrade_proto_v3.0.5' of github.com:atomicobject/kinetic-c into feature/upgrade_proto_v3.0.5
parents 5181d289 6cabdd80
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
# Ensure stray simulators are not still running
ps -ef | grep kinetic-simulator | grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 3 | xargs kill $1
KINETIC_SIM = `ps -ef | grep kinetic-simulator | grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 2`
if [! -z "$KINETIC_SIM" ]; then
  echo Killing kinetic-simulator w/ PID: $KINETIC_SIM
  kill $KINETIC_SIM
  echo Killed all kinetic simulators!
else
  echo No kinetic simulators alive to kill.
fi