From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: Foolproof solution for non-inherit on spawn/exec? 10 Jun 1998 23:22:58 -0700 Message-ID: <01BD9520.2EFBD4F0.cygnus.cygwin32.developers@drs> To: "cygwin32-developers AT cygnus DOT com" , "'Christopher G. Faylor'" , "'Geoffrey Noer'" Geoffrey Noer wrote: > On Mon, Jun 08, 1998 at 09:56:20AM +0400, Sergey Okhapkin wrote: > > > > I don't like this idea... > > Could you give more details as to why? Thanks! > I don't like a duplication of handles in a child's code. This case the child have to OpenProcess(parent). This open may fail due to security reasons after sexec() calls. The second, duplicated sockets fails to connect thru MS winsock proxy server on Windows NT (didn't try on W95). -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia.