From: newsham AT lava DOT net (Tim Newsham) Subject: Re: close-on-exec doesnt work for spawn*() 27 May 1998 11:53:51 -0700 Message-ID: References: <199805262350 DOT TAA28900 AT kramden DOT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: cgf AT cygnus DOT com (Christopher Faylor) Cc: cygwin32-developers AT cygnus DOT com > There is also a SetHandle function that would do this on a Win32 basis, but > I believe it is only available for NT 4 and beyond. On a related note: Is there any way to get a hold of a handle given the unix-type file descriptor in cygwin? This would allow certain work arounds to be used in user code (without modifying cygwin's dll). It would also be handy for using devices; A program could open a device and do normal file io on it, and could still use the devices IO control operations through the win32 handle. > cgf Tim N.