autotest: removed the need for run_cmd.sh
This commit is contained in:
parent
f6965fffdc
commit
b14e0b65b6
@ -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
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user