On Wed, 15 Feb 2006 06:32:04 +0200, you wrote:

>> From: "J. David Bryan" <[EMAIL PROTECTED]>
>> Date: Tue, 14 Feb 2006 18:54:59 -0500
>> CC: [email protected]
>> 
>> Would it be reasonable to condition this on whether "command.com" or 
>> "cmd.exe" is the shell?
>
>Quoting in cmd.exe is still very different from a Unixy shell, so
>construct_command_argv_internal will still need lots of cmd-specific
>code fragments, I think.

I've thought about this, and I'm not sure that I understand why quoting 
matters.  I accept that quoting in "cmd" and "sh" differ.  But isn't the 
issue whether "make" can pass commands to "cmd" directly or must pass them 
via batch files?

In other words, are there commands that cannot be passed to "cmd" as 
arguments but that will work if the identical strings are placed in batch 
files?  If you have an example, that would help me to grasp the issue.

If there aren't, then perhaps the string currently being placed in the 
batch file could simply be passed via "cmd /c <string>" instead, at least 
when "cmd" is the shell.

                                      -- Dave



_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to