Mercurial > hg > beaglert
diff scripts/build_project.sh @ 63:3ada83df91a5 newapi
Support stopping looped BeagleRT programs running within screen
author | andrewm |
---|---|
date | Wed, 15 Jul 2015 19:46:51 +0100 |
parents | afc593f7469e |
children | b89dd0c97a04 |
line wrap: on
line diff
--- a/scripts/build_project.sh Wed Jul 15 19:40:15 2015 +0100 +++ b/scripts/build_project.sh Wed Jul 15 19:46:51 2015 +0100 @@ -64,7 +64,7 @@ # Stop BeagleRT and clean out old source files echo "Stopping BeagleRT and removing old source files..." -ssh -t -t $BBB_ADDRESS "kill -s 2 \`pidof BeagleRT\` 2>/dev/null; sleep 0.5; make sourceclean -C $BBB_PATH" +ssh -t -t $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5; make sourceclean -C $BBB_PATH" # Copy new source files to the board echo "Copying new source files to BeagleBone..."