diff --git a/crazyCART.sh b/crazyCART.sh index c8499d6cd6f1f3ff8401daf16a83283c787dd4ba..8267fa7593ca6bfffd14a925bff9d7320931a245 100755 --- a/crazyCART.sh +++ b/crazyCART.sh @@ -57,8 +57,14 @@ BPID=$! # exit # fi -./GroundStation & -GPID=$! +if [ "$2" = "nogui" ] +then + x-terminal-emulator . + GPID=$! +else + ./GroundStation & + GPID=$! +fi trap handler INT