cmd_bat quoted args escaping #11975
Labels
area-Windows
Windows-specific issues and feature requests
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Server
Issues for serverside rules included with Bazel
type: bug
Description of the problem / feature request:
genrules cmd_bat argument quoting results in incorrect syntax/"The system cannot find the file specified"
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
create a random file so that it's full path contains a space, then
OR
What operating system are you running Bazel on?
Windows 10 x64
What's the output of
bazel info release
?release 3.4.1
Have you found anything relevant by searching the web?
No
Any other information, logs, or outputs that you want to share?
Dumping the command by adding echo in front of copy:
shows that cmd.exe actually gets
which is not accepted by cmd.exe
The text was updated successfully, but these errors were encountered: