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: fhandler_base::dup: (W2K, php, 1.3.9 dll) + work around


Hi Frank,

the pretty, standard *ix way is < /dev/null

Bye, Heribert (heribert_dahms@icon-scm.com)

> -----Original Message-----
> From:	Frank Tuijnman [SMTP:frank@pgs.nl]
> Sent:	Monday, February 21, 2000 13:36
> To:	cygwin@cygwin.com
> Subject:	Bug: fhandler_base::dup: (W2K, php, 1.3.9 dll) + work around
> 
> Bug report + work around.
> 
> When calling a bash shell script interactively, it works fine.
> When starting it through php (with 'exec') it gives this error:
> 
> fhandler_base::dup: dup(unknown disk file) failed, handle 2F8, Win32
> error 6
> 
> The problem has been reported earlier (and diagnosed) in the context of
> gcc and make.
> 
> The problem arises because the main shell script (activated from php
> with 'exec') calls other shell scripts, without assigning standard
> input. After calling the other scripts with a dummy standard input ( <
> /etc/profile), it works fine. Not pretty, but workable.
> 
> Frank Tuijnman
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]