[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command without output
From: |
Orm Finnendahl |
Subject: |
Re: shell-command without output |
Date: |
Tue, 16 Dec 2003 10:47:06 +0100 |
User-agent: |
Mutt/1.5.4i |
Am 15. Dezember 2003, 19:36 Uhr (+0100) schrieb Miguel Frasson:
> 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)?
redirect the output of the shell command to /dev/null
(like '<command> &> /dev/null')
--
Orm