|
From: | Christoph |
Subject: | bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows |
Date: | Sun, 01 Aug 2010 20:21:43 -0600 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 |
On 7/20/2010 10:02 PM, Eli Zaretskii wrote:
Thanks. To make my intent clear: I meant to enhance cmdproxy to use a batch file when invoking the windows shell. You will see that there's a variable need_shell in cmdproxy's `main' function which gets set to a non-zero value when cmdproxy decides it needs to pass the command the the shell instead of invoking it directly. What I suggested is to modify the code in this case to put the command on a temporary batch file, then invoke the shell on that batch file rather than on the command itself.
Eli,I remember a comment of yours earlier in the thread that DOS does not have the problem. I assume that this is due to a difference in command.com vs cmd.exe?
Do we want to execute the batch file only in case of cmd.exe or for both command.com and cmd.exe?
Christoph
[Prev in Thread] | Current Thread | [Next in Thread] |