test: test out disabling use_execroot_entry_point on Windows#2845
test: test out disabling use_execroot_entry_point on Windows#2845acozzette wants to merge 20 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Putting the user-supplied env inside the select() branches breaks when env is itself a select(). Instead, only the conditional portion lives in the select(), and | merges all three dicts (fixed_env, env_arg, env) outside of it, keeping user-supplied selects valid on the right-hand side. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
runfiles_current_repository (called by rlocation) resolves the calling script's path via `cd $(dirname $BASH_SOURCE)`. When the launcher is invoked with a relative $0 and the script has since changed directories (e.g. via chdir or BAZEL_BINDIR), that cd fails with "No such file or directory". Re-execing immediately with an absolute path ensures $BASH_SOURCE is always absolute throughout the script's lifetime. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>






Changes are visible to end-users: yes/no
Test plan