posix_spawn
Mark Geisert
mark@maxrnd.com
Mon Apr 21 08:21:16 GMT 2025
On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote:
> Greetings!
>
> posix_spawn is returning non-zero without setting errno:
>
> massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void *)p1, environ));
>
> Is this intended to be supported? Is it known to be working or not
> working elsewhere?
This kind of question should be sent to the main Cygwin mailing list
cygwin@cygwin.com, now CC'd. Please follow up there if necessary.
On failure, posix_spawnp() returns the error number rather than setting
errno. This is a convention followed by some number of the posix_*()
functions; which ones is a question for readers of the POSIX standard ;-).
..mark
More information about the Cygwin
mailing list