delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/30/16:32:11

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: open file handles inherited?
30 Jul 1998 16:32:11 GMT :
Message-ID: <6pq76b$ig9$1@cronkite.cygnus.com>
References: <000101bdbb00$d4819c60$732ddd80 DOT cygnus DOT gnu-win32 AT cpc45115 DOT us DOT dg DOT com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <000101bdbb00$d4819c60$732ddd80 DOT cygnus DOT gnu-win32 AT cpc45115 DOT us DOT dg DOT com>,
Peter Mularski <pmularski AT clariion DOT com> wrote:
>Hello,
>
>I have a question. Are open file handles inherited by exec'ed processes? If
>not, how can I get this to happen? I know under VC++, you can set the
>_fileinfo global, but is there something akin to this in cygwin? Thanks in
>advance...

In cygwin32 opened file handles are inherited by exec processes unless
you have set the "close on exec" flag using fcntl.

-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


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