Skip to content

Commit

Permalink
Hide stderr from bazel info call
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Sep 19, 2024
1 parent 0e62e0e commit 97249cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{ .ProjectSnake }}/tools/_run_under_cwd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ case "$(basename "$0")" in
;;
esac
# NB: we don't use 'bazel run' because it may leave behind zombie processes under ibazel
bazel 2>/dev/null build "$target" && BAZEL_BINDIR=. exec $(bazel info execution_root)/$(bazel 2>/dev/null cquery --output=files "$target") "$@"
bazel 2>/dev/null build "$target" && BAZEL_BINDIR=. exec $(bazel 2>/dev/null info execution_root)/$(bazel 2>/dev/null cquery --output=files "$target") "$@"

0 comments on commit 97249cf

Please sign in to comment.