bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS


From: Eli Zaretskii
Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS
Date: Wed, 21 Jul 2010 01:18:55 +0300

> Date: Wed, 21 Jul 2010 00:41:23 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: lekktu@gmail.com, 6674@debbugs.gnu.org
> 
> > From: Óscar Fuentes <ofv@wanadoo.es>
> > Cc: lekktu@gmail.com,  6674@debbugs.gnu.org
> > Date: Tue, 20 Jul 2010 21:51:39 +0200
> > 
> > The issue is that "cmd.exe -c" seems to have a 1024 char limit when the
> > command contains a pipe (my guess is that the limit applies separatelly
> > to every command on the pipe chain) and cmdproxy.c prepends "cmd.exe -c"
> > to the command when it has a pipe, redirection, etc.
> 
> If that is true, we could implement the pipes in cmdproxy.  It's not
> difficult.

A better (and easier implemented) idea would be to create a temporary
batch file with the command line and run the batch file with cmd.exe.
The original command works just fine if invoked from a batch file.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]