delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/21/15:41:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <BF35D9C143BCCC4EB63181B67C9320C83A9B3B@serv-075.icon-germany.local>
From: Heribert Dahms <heribert_dahms AT icon-scm DOT com>
To: "'Frank Tuijnman'" <frank AT pgs DOT nl>, cygwin AT cygwin DOT com
Subject: RE: fhandler_base::dup: (W2K, php, 1.3.9 dll) + work around
Date: Thu, 21 Feb 2002 21:42:36 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hi Frank,

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

Bye, Heribert (heribert_dahms AT icon-scm DOT com)

> -----Original Message-----
> From:	Frank Tuijnman [SMTP:frank AT pgs DOT nl]
> Sent:	Monday, February 21, 2000 13:36
> To:	cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019