X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Mon, 11 Feb 2002 21:35:53 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <4331-Mon11Feb2002213553+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <200202111606.g1BG69F15768@envy.delorie.com> (message from DJ Delorie on Mon, 11 Feb 2002 11:06:09 -0500) Subject: Re: posix_spawn family References: <15DBDD66E28 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> (ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De) <19E1F4D2E4F AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> <200202111606 DOT g1BG69F15768 AT envy DOT delorie DOT com> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 11 Feb 2002 11:06:09 -0500 > From: DJ Delorie > > If you look at glibc's sources, you may not be legally allowed to > write djgpp's sources. Right. In addition, I'm not sure it will be useful to look at glibc's implementation, since they probably use fork/exec internally, and we can't. I'd say simply make a wrapper for spawn*, with some way for `wait' to get at the exit status, and otherwise use the gettext code which uses those functions as your guide about what functionality to implement.