[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 20 Aug 2004 09:37:24 +0200 (CEST)
> - shell-command looks like it's in the same class since it does
> a fair bit of extra stuff that is rarely useful when called as
> an Elisp function rather than an Emacs command. It also has
> the side effect of passing the command to `sh' which is great
> when that's what you need, but otherwise has the severe
> disadvantage that you have to be extra careful to correctly
> quote all your arguments
> When what you want to do is call a program with certain arguments,
> it is generally better to use call-process and avoid the shell.
OK, I see. However, in my particular case I need to use a shell
because of pipes.
The problem is closed for me. Thank you both very much!
Alexander Pohoyda <address@hidden>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44
Re: shell-command-on-region, Richard Stallman, 2004/08/17