help-make
[Top][All Lists]
Advanced

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

Re: suppressing shell error output


From: Mike Frysinger
Subject: Re: suppressing shell error output
Date: Tue, 13 Sep 2005 18:31:25 -0400
User-agent: KMail/1.8.2

On Tuesday 13 September 2005 06:08 pm, Martin Sebor wrote:
> Paul D. Smith wrote:
> > %% Martin Sebor <address@hidden> writes:
> >
> >   ms> Is there an efficient way to suppress the error output of the shell
> >   ms> in the $(shell) function?
> >
> > Make can't do it.  You can only do it from within the shell script
> > you're invoking.
>
> There's no way the script could do it if it doesn't exist :)

you're thinking one level too deep

simply do:
$(shell your_script_here 2>/dev/null)
-mike




reply via email to

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