[Top][All Lists]

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

Re: Using `call-process-shell-command' in `process-lines'

From: Stefan Monnier
Subject: Re: Using `call-process-shell-command' in `process-lines'
Date: Mon, 26 Nov 2007 11:43:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> Please describe the actual problem so we can find another solution
>> to it.

> There are two parts: the first one is hardcoded "find" and "grep"
> commands, which I want to replace with find-program and grep-command.
> I suppose you won't oppose to that.

> As for the problem:

>  - Running check-declare-directory as it is now (after changing "find"
> to `find-program' and "grep" to `grep-program' and suitably setting
> the variables):

> process-lines: c:/bin/gnuwin32/bin/find.exe exited with status 1
> process-lines: c:/bin/msys/bin/find.exe exited with status 1

> This is with MSYS' find ("GNU find version 4.1") and GnuWin32's find
> ("GNU find version 4.2.20").

I have no idea what this means.  Could you expand on it?

>  - After I wrap "*.el" and "^[\t ]*(check-function" in `shell-quote-argument':

> Both programs return succesfully without finding any *.el file (root
> is c:/emacs/trunk/lisp/ when I invoke check-declare-directory).

Why would you want to wrap them?  They're not passed to a shell!


reply via email to

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