|
|
@ -234,8 +234,7 @@ trap 'on_error $?' ERR |
|
|
trap 'on_exit $?' EXIT |
|
|
trap 'on_exit $?' EXIT |
|
|
trap 'on_pipe' PIPE |
|
|
trap 'on_pipe' PIPE |
|
|
|
|
|
|
|
|
# exec 4>/dev/tty |
|
|
|
|
|
[[ -e /proc/$$/fd/3 ]] && exec 4>&3 3>&- || exec 4>/dev/tty |
|
|
|
|
|
|
|
|
if [[ -e /proc/$$/fd/3 ]]; then exec 4>&3 3>&-; else exec 4>/dev/tty; fi |
|
|
exec 3>/dev/stderr 2>"$MIAOU_BASH_ERROR" |
|
|
exec 3>/dev/stderr 2>"$MIAOU_BASH_ERROR" |
|
|
|
|
|
|
|
|
miaou_debug "<source from=$BASH_ARGV0 pid=${BASHPID}>" |
|
|
miaou_debug "<source from=$BASH_ARGV0 pid=${BASHPID}>" |
|
|
|