Skip to content

Commit

Permalink
Merge pull request #155 from orthros/fr-stderr
Browse files Browse the repository at this point in the history
[shell tracer] redirect stderr for hooks
  • Loading branch information
BobEvans authored Jun 9, 2023
2 parents 8744cd6 + c25d8e4 commit c4b043f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pal_event_server/lib/src/loggers/cmd_line/shell_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ preexec_log_command() {
__taqo_bfg=fg
__taqo_need_log_precmd=1
fi
$__taqo_log_cmd start "$1" "$$" "$__taqo_bfg"
$__taqo_log_cmd start "$1" "$$" "$__taqo_bfg" 2> /dev/null
}
precmd_log_status() {
__taqo_last_ret="$?"
if [[ "$__taqo_need_log_precmd" == 1 ]]; then
$__taqo_log_cmd end "$$" "$__taqo_last_ret"
$__taqo_log_cmd end "$$" "$__taqo_last_ret" 2> /dev/null
unset __taqo_need_log_precmd
fi
}
Expand Down

0 comments on commit c4b043f

Please sign in to comment.