#
######################################################
-set -x # ???? debug on buildbot
+test -t 0 && echo stdin # ????
+test -t 1 && echo stdout # ????
+test -t 2 && echo stderr # ????
set -e
if test -z "${MH_OBJ_DIR}"; then
run_without_input() {
if [ "$script_command_opt" = -c ]; then
#### -c takes single argument with command + arguments.
- script -c "$*" -f -q "$actual" >/dev/null &
+ script -q -f -c "$*" "$actual" >/dev/null &
else
#### E.g., FreeBSD. Don't combine command arguments.
- script -f -q "$actual" "$@" >/dev/null &
+ script -q -t 0 "$actual" "$@" >/dev/null &
fi
wait $!