To me, reading the comment here does not match the added code:
# If the argument starts with a slash or dash, it's probably a command line
# switch
# Return the path with forward slashes because the command using it might
# not support backslashes.
arguments = [i if (i[:1] in "/-") else _FixPath(i, "/") for i in cmd[1:]]
I believe it should be something like:
arguments = [_FixPath(i, "/") if (i[:1] in "/-") else _FixPath(i) for i in cmd[1:]]
OR don't call FixPath at all if it's not a command line switch and enforce backslashes be used directly in the inputs/outputs.
I believe this was caused by #121
A copy action like the following results in a forward slashed path for the
copy
command, and the system complains it cannot find the file specified:In the vcproj we can see:
To me, reading the comment here does not match the added code:
I believe it should be something like:
OR don't call FixPath at all if it's not a command line switch and enforce backslashes be used directly in the inputs/outputs.