We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd123d5 commit 25592f1Copy full SHA for 25592f1
script/tct.sh renamed to script/tct
@@ -14,6 +14,15 @@ echo stopping robot...
14
/usr/local/frc/bin/frcKillRobot.sh
15
echo tct starting, please wait...
16
echo
17
-/usr/local/frc/JRE/bin/java -Djava.library.path=/usr/local/frc/lib/ -jar tct.jar 2> /dev/null
+
18
+log=/dev/null
19
+while [ $# -gt 0 ]; do
20
+ case "$1" in
21
+ -log) log=/home/admin/tct.log;;
22
+ esac
23
+ shift
24
+done
25
26
+/usr/local/frc/JRE/bin/java -Djava.library.path=/usr/local/frc/lib/ -jar /usr/local/lib/tct.jar 2> $log
27
28
echo reboot roboRIO to restart robot code.
0 commit comments