validate --workspace_status_command
's value
#5034
Labels
category: misc > misc
P3
We're not considering working on this, but happy to review a PR. (No assignee)
type: feature request
Description of the problem / feature request:
Bazel should check that
--workspace_status_command
's value is a path, not a raw shell command string.Feature requests: what underlying problem are you trying to solve with this feature?
Remove the need for Bazel to run the command through Bash as part of issue #4319.
The documentation already says the flag expects a path, but nothing validates the flag's value. If the flag's value is a path to a binary or script, then, as long as those are valid executables or have valid shebang lines, Bazel can successfully run them even without Bash.
What operating system are you running Bazel on?
Any.
What's the output of
bazel info release
?0.12.0
Have you found anything relevant by searching the web?
Culprit of: #5028
Blocker of: #2190
The text was updated successfully, but these errors were encountered: