This is the mail archive of the
mailing list for the Cygwin project.
Re: Bash fails to run .bat file with spaces in pathname and argument
I think that you are right in saying this is not a cygwin bug. Upon
further investigation, it seems it is a cmd misfeature. Would a patch
to oddly quote things that spawn_guts "knew" would be passed off to cmd
be accepted, given that it would not be a fix, but a kludgy workaround?
Or would it be rejected on the grounds that it would possibly
introduce instability and future traps?
Sean Daley wrote:
I'm not sure if it was ever fully decided that this was a cygwin bug since
windows cmd can also exhibit similar behavior.
I was the original poster back then. I eventually just worked around
the issue by
writing a native executable that did the same things the batch job was
supposed to do. Chris' suggestion of shell scripts also works as well.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html