Mercurial > hg > beaglert
comparison scripts/run_project.sh @ 61:afc593f7469e newapi
Add ability to connect to a running BeagleRT project using screen
author | andrewm |
---|---|
date | Wed, 15 Jul 2015 19:09:18 +0100 |
parents | ad6b2767beaf |
children | a11e23f4e6af |
comparison
equal
deleted
inserted
replaced
60:ad6b2767beaf | 61:afc593f7469e |
---|---|
33 done | 33 done |
34 | 34 |
35 shift $((OPTIND-1)) | 35 shift $((OPTIND-1)) |
36 | 36 |
37 echo "Running BeagleRT..." | 37 echo "Running BeagleRT..." |
38 ssh $BBB_ADDRESS "kill -s 2 \`pidof BeagleRT\` 2>/dev/null ; sleep 0.5 ; screen -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" | 38 ssh $BBB_ADDRESS "kill -s 2 \`pidof BeagleRT\` 2>/dev/null ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" |