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:[EMAIL PROTECTED] 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/