Date: Sun, 21 Sep 1997 17:51:43 -0400 (EDT) Message-Id: <199709212151.RAA16096@delorie.com> From: DJ Delorie To: eliz AT is DOT elta DOT co DOT il CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Sun, 21 Sep 1997 14:18:57 +0300 (IDT)) Subject: Re: File-handle inheritance Precedence: bulk > An alternative would be to have the stub close the 10 handles in the > range [10..19] *before* it tries to open the .exe file. This is > actually similar to what COMMAND.COM does when it starts (it closes > all handles above 2). If we're going to do it in the stub, why not only close as many as we need? If we only need two or three, only close the last two or three, preserving as many as we can for the applications.