emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: Using `call-process-shell-command' in `process-lines'
Date: Tue, 27 Nov 2007 06:13:58 +0200

> Date: Mon, 26 Nov 2007 23:01:22 +0000
> From: Jason Rumney <address@hidden>
> Cc: address@hidden, address@hidden,
>       address@hidden, address@hidden
> 
> Eli Zaretskii wrote:
> > What about <, |, and > -- should we quote them as well?
> 
> Those seem to get through to the subprocess OK, since they are handled
> by the shell even on DOS/Windows.

What command did you try to run?

The example I had in mind was when these characters are not used for
redirection, but are actually part of one of the command-line
arguments, and need to wind up verbatim in the subprocess.  On Posix
platforms, execve will do that automatically, since it doesn't go
through a shell or any similar facilities for which these characters
are special.




reply via email to

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