Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-17 Thread Johnathon Jamison
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 i

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-13 Thread Johnathon Jamison
Buchbinder, Barry (NIH/NIAID) [E] wrote: The problem is, at least in part, with cmd. cmd /? says: If /C or /K is specified, then the remainder of the command line after the switch is processed as a command line, where the following logic is used to process quote (") characters: 1.

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-12 Thread Johnathon Jamison
customers. Johnathon Thorsten Kampe wrote: * Johnathon Jamison (Wed, 11 Oct 2006 14:11:12 -0700) I am having some funny behavior. If I have a .bat file that is in a directory whose pathname contains a space, and an argument is given to the .bat file that has a space in it, then the .bat file

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-12 Thread Johnathon Jamison
Christopher Faylor wrote: On Wed, Oct 11, 2006 at 07:43:57PM -0700, Johnathon Jamison wrote: Respectfully, I think I know how shell quoting works. If you look at the sample run, all spaces are properly escaped with either backslashes or double quotes. The problem only surfaces when BOTH

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-11 Thread Johnathon Jamison
MESSAGE- Hash: SHA1 According to Johnathon Jamison on 10/11/2006 3:11 PM: Hello, I am having some funny behavior. If I have a .bat file that is in a directory whose pathname contains a space, and an argument is given to the .bat file that has a space in it, then the .bat file fails to run

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-11 Thread Johnathon Jamison
Sorry, did not read posting guidelines well enough. Attaching output of cygcheck -s -v -r. Johnathon Johnathon Jamison wrote: Hello, I am having some funny behavior. If I have a .bat file that is in a directory whose pathname contains a space, and an argument is given to the .bat file

Bash fails to run .bat file with spaces in pathname and argument

2006-10-11 Thread Johnathon Jamison
Hello, I am having some funny behavior. If I have a .bat file that is in a directory whose pathname contains a space, and an argument is given to the .bat file that has a space in it, then the .bat file fails to run. Instead, I get "'xxx' is not recognized as an internal or external command,