autotest: removed the need for run_cmd.sh

This commit is contained in:
Andrew Tridgell 2015-08-13 11:47:06 +10:00 committed by Randy Mackay
parent f6965fffdc
commit b14e0b65b6
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" echo "Window access not found, logging to $filename"
cmd="$1" cmd="$1"
shift shift
( $AUTOTEST/run_cmd.sh $cmd $* &>$filename < /dev/null ) & ( $cmd $* &>$filename < /dev/null ) &
fi fi
exit 0 exit 0