On Tue, Feb 27, 2024 at 06:54:42AM +0100, Dan Shelton via Cygwin wrote: > On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin <cygwin@cygwin.com> > wrote: > > > > On 2024-02-26 20:23, Dan Shelton via Cygwin wrote: > > > Does Cygwin implement a native, i.e. without form(),exec(), > > > implementation of posix_spawn()? > > > > Check the API compatibility docs online: > > > > https://cygwin.com/cygwin-api/compatibility.html#std-susv4 > > > > or optional locally installed package cygwin-doc: > > > > > > /usr/share/doc/cygwin-doc/html/cygwin-api/compatibility.html#std-susv4 > > That document does not answer my question. > > I know posix_spawn() is there. But the question is: Does it use just > Cygwin fork(),exec(), or the native Win32 spawn() api? > > Dan > -- > Dan Shelton - Cluster Specialist Win/Lin/Bsd
If you were going to make a small effort to answer the question yourself, you could use strace, you could step through a debugger, or you could check the source code. Have you tried any of these? What did you find? If you are unable to take any of those steps, why does posix_spawn() matter to you? Cheers, Glenn -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple