You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2We'll consider working on this in future. (Assignee optional)area-WindowsWindows-specific issues and feature requeststeam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
"bazel run" requires Bash, doesn't work with --shell_executable=.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
BUILD:
cc_binary(
name = "x",
srcs = ["x.cc"],
)
x.cc:
int main() { return 0; }
bazel run --shell_executable= //:x
(...)
INFO: Build completed successfully, 6 total actions
ERROR: the "run" command needs a shell; use the --shell_executable=<path> flag to specify its path, INFO: Build completed successfully, 6 total actions
What operating system are you running Bazel on?
Windows 10
What's the output of bazel info release?
0.25.0 release
Have you found anything relevant by searching the web?
This is a sub-issue of #6462, and a blocker for #4319.
P2We'll consider working on this in future. (Assignee optional)area-WindowsWindows-specific issues and feature requeststeam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
Activity
bazel run: no longer requires Bash for simple case
[-]Windows: "bazel run" requires Bash[/-][+]Windows: "bazel run" requires Bash [blocking #4319][/+]bazel run: no longer requires Bash for simple case
Windows: add --incompatible_bashless_run_command
Windows: add --incompatible_bashless_run_command
Windows, bazel run: fix a bug in PR bazelbuild#8241
Windows, bazel run: don't join all args into argv0
Windows, bazel run: don't join all args into argv0
laszlocsomor commentedon Dec 2, 2019
Bazel 1.0 fixed this, see #8241.