Process Substitution / Named Pipes in cygwin 1.7.11-1

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Apr 3 08:35:00 GMT 2012


On Apr  3 10:32, Sven Severus wrote:
> On Apr 2 17:33, Corinna Vinschen wrote
> > > Hello all,
> > > 
> > > I am running Cygwin DLL 1.7.11-1 and the bash command
> > > "cat < <(echo 1234)" (not very profound, ok) works fine
> > > on my Win7-64 box.
> > > 
> > > Now I installed the same Cygwin release on an older PC
> > > running WinXP: the above command does not execute
> > > properly and breaks with the error message
> > > "bash: /dev/fd/62: No such file or directory".
> >
> >Does /dev/fd exist and is it a symlink to /proc/self/fd?
> 
> It does not exist.
> 
> My Cygwin installation on the old WinXP-PC actually was an 
> upgrade of an older Cygwin installation (from 2007 or so), 
> not a new installation from scratch. Maybe it was not a very 
> wise strategy to try to upgrade such an oldtimer ;-> ...
> I will remove the upgraded Cygwin installation and then 
> install from scratch. I'm confident, this will solve the 
> problems...

Why the big hammer?  Why not start with

  ln -s /proc/self/fd /dev/fd

?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list