Re: posix_spawn difference from Linux

2025-06-14 Thread Glenn Strauss via Cygwin
On Sat, Jun 14, 2025 at 12:29:57PM -0600, Brian Inglis via Cygwin wrote: > On 2025-06-13 21:39, Glenn Strauss via Cygwin wrote: > > On Fri, Jun 13, 2025 at 02:25:17PM -0700, Jeremy Drake via Cygwin wrote: > > > On Fri, 13 Jun 2025, Jeremy Drake wrote: > > > > > > > I am working on some posix_spawn

Re: posix_spawn difference from Linux

2025-06-14 Thread Brian Inglis via Cygwin
On 2025-06-13 21:39, Glenn Strauss via Cygwin wrote: On Fri, Jun 13, 2025 at 02:25:17PM -0700, Jeremy Drake via Cygwin wrote: On Fri, 13 Jun 2025, Jeremy Drake wrote: I am working on some posix_spawn tests for the new stc repository [1], and making sure they behave the same between Cygwin and

Re: posix_spawn difference from Linux

2025-06-13 Thread Glenn Strauss via Cygwin
On Fri, Jun 13, 2025 at 02:25:17PM -0700, Jeremy Drake via Cygwin wrote: > On Fri, 13 Jun 2025, Jeremy Drake wrote: > > > I am working on some posix_spawn tests for the new stc repository [1], and > > making sure they behave the same between Cygwin and Linux. I found one > > case (so far) which d

Re: posix_spawn difference from Linux

2025-06-13 Thread Jeremy Drake via Cygwin
On Fri, 13 Jun 2025, Jeremy Drake wrote: > I am working on some posix_spawn tests for the new stc repository [1], and > making sure they behave the same between Cygwin and Linux. I found one > case (so far) which does not: passing NULL for argument "envp" to > posix_spawn. > > In Cygwin, this res

posix_spawn difference from Linux

2025-06-13 Thread Jeremy Drake via Cygwin
I am working on some posix_spawn tests for the new stc repository [1], and making sure they behave the same between Cygwin and Linux. I found one case (so far) which does not: passing NULL for argument "envp" to posix_spawn. In Cygwin, this results in the child inheriting the environment from the