diff --git a/Tools/autotest/run_cmd.sh b/Tools/autotest/run_cmd.sh deleted file mode 100755 index fb586f3dc1..0000000000 --- a/Tools/autotest/run_cmd.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -# This is a helper script for run_in_terminal_window.sh. I'm not sure why Ardupilot.elf exits if not run from inside of a script -echo running $* -( $* ) -echo cmd exited diff --git a/Tools/autotest/run_in_terminal_window.sh b/Tools/autotest/run_in_terminal_window.sh index dc7dc30ed3..d2f78ed626 100755 --- a/Tools/autotest/run_in_terminal_window.sh +++ b/Tools/autotest/run_in_terminal_window.sh @@ -21,6 +21,6 @@ else echo "Window access not found, logging to $filename" cmd="$1" shift - ( $AUTOTEST/run_cmd.sh $cmd $* &>$filename < /dev/null ) & + ( $cmd $* &>$filename < /dev/null ) & fi exit 0