Skip to content

Commit

Permalink
wrapper: Sanitize stdio before start
Browse files Browse the repository at this point in the history
This is a replacement for e6f9c3c.
  • Loading branch information
refi64 committed Feb 25, 2021
1 parent 0856b00 commit ae8b042
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zypak-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ else
export ZYPAK_LIB="$self_dir/../lib"
fi

# http://crbug.com/376567
exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)

exec "$ZYPAK_BIN/zypak-helper" host "$@"

0 comments on commit ae8b042

Please sign in to comment.