This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rxvt hanging after latest cygwin update


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]