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

Re: My script almost works but spams the terminal its launched from if useing dash.



On Fri 22 Apr 2016 at 14:19:11 (+1000), Andrew McGlashan wrote:
> On 17/04/2016 3:11 AM, Aero Maxx wrote:
> >> bin/mailwatcher > /dev/null 2>&1 &
> 
> Perhaps better still...
>   bin/mailwatcher >& /dev/null &

... or even

bin/mailwatcher &> /dev/null &

which is generally safer.

> Without specifying STDOUT or STDERR you get both.
> 
> ;-)

Cheers,
David.


Reply to: