delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/08/08:29:31

From: ian AT cygnus DOT com (Ian Lance Taylor)
Subject: Re: Question
8 Apr 1998 08:29:31 -0700 :
Message-ID: <199804081511.LAA23866.cygnus.cygwin32.developers@subrogation.cygnus.com>
References: <01BD6311 DOT E449AF30 AT SOMESHIT>
To: sos AT prospect DOT com DOT ru
Cc: cygwin32-developers AT cygnus DOT com

   From: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
   Date: Wed, 8 Apr 1998 17:15:06 +0400

   Should file descriptors other than stdin/stdout/stderr be inheritted on spawn()? It seems to me they shouldn't...

Why not?

I mean, I don't see any special reason why they should be inherited,
but I also don't see any special reason why they shouldn't be
inherited.  The operation seems well defined either way.

In particular, it makes sense for a cygwin32 program to spawn another
cygwin32 program, because the spawn operation should be faster than
fork/exec.

Ian

- Raw text -


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