We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928b733 commit d32f728Copy full SHA for d32f728
ports/zephyr-cp/cptools/cpbuild.py
@@ -150,7 +150,8 @@ async def run_command(
150
151
# When on windows, use a responsefile if the command string is >= 8192
152
if os.name == "nt" and len(command_string) >= 8192:
153
- responsefile_contents = "\n".join(command[1:])
+ # Escape backslashes
154
+ responsefile_contents = "\n".join(part.replace("\\", "\\\\") for part in command[1:])
155
responsefile.write_text(responsefile_contents)
156
command_string = f"{command[0]} -v @{responsefile}"
157
else:
0 commit comments