autotest: removed the need for run_cmd.sh

This commit is contained in:
Andrew Tridgell 2015-08-13 11:47:06 +10:00
parent 8b17d32994
commit 596cac58d0
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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