bug-bash
[Top][All Lists]
Advanced

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

Re: "exec >/dev/null 2>&1" hangs shell


From: Andreas Schwab
Subject: Re: "exec >/dev/null 2>&1" hangs shell
Date: Thu, 09 May 2002 03:15:09 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux)

"Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> writes:

|> On both:
|>  - irix6.5 with bash-2.04
|>  - cygwin with bash-2.05a
|> the command "exec > /dev/null 2>&1" hangs.

It doesn't.  Type "exit" or EOF to exit.  Of course, you won't see any
output, since that is promptly discarded.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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