This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: rxvt hanging after latest cygwin update
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Sep 2003 11:00:39 +0200
- Subject: Re: rxvt hanging after latest cygwin update
- References: <003a01c37908$32b4b9f0$0133a8c0@tvfgamer>
- Reply-to: cygwin at cygwin dot com
On Fri, Sep 12, 2003 at 10:29:19AM +0200, Thomas V. Fischer wrote:
> Hello all,
>
> I figured out what was wrong.
>
> It seems to be the statement 'exec 2>&1' that is no longer working.
$ cat foo.sh
#!/bin/bash
exec 0</dev/null
exec 1>~/.foobar
exec 2>&1
ls qwert foo.sh
$ bash --login -c "./foo.sh"
$ cat .foobar
ls: qwert: No such file or directory
foo.sh
$
Well...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/