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

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

Re: shell-command without output


From: Jesper Harder
Subject: Re: shell-command without output
Date: Mon, 15 Dec 2003 19:48:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Miguel Frasson <frasson@enquist.math.leidenuniv.nl> writes:

> I am writing a major mode (frontend for a script) and I want to
> execute shell commands, but *do not* read the output (unless I want,
> switching to an output buffer, for instance).
>
> shell-command always shows the output.
>
> How to avoid that (no matter the script has output or not)?

Look up `call-process-shell-command' in the Emacs Lisp manual.


reply via email to

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