[Top][All Lists]

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

bash hangs when using exec 2>...

From: kontakt
Subject: bash hangs when using exec 2>...
Date: Sat, 14 Mar 2015 15:17:24 +0100
User-agent: KMail/4.13.3 (Linux/3.13.0-46-generic; KDE/4.13.3; x86_64; ; )

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu  
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -
DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-l$
uname output: Linux josua 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 11  
Release Status: release

        exec hangs up when using "exec 2>SOMETHING". Just tested on Ubuntu 
14.04, Ubuntu 12.04, Debian7
        working when just using "exec 1>SOMETHING"

        using in a script for logging
        or just try it in bash or dash 

        Dont't know how to fix it
        Just using the workaround with "PATH/SCRIPT 2>SOMETHING" which does 
not use exec

reply via email to

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