On Tue, Oct 3, 2023 at 12:04 PM Brendan Shanks wrote:
>
> + ret = posix_spawnattr_init (&attr);
> + if (ret) { *err = ret; *errmsg = "posix_spawnattr_init"; goto exit; }
Sorry, but let's keep the formatting used in the rest of the file.
if (ret != 0)
{
*err = ret;
*errmsg = "posix_sp
Hi,
This patch implements pex_unix_exec_child using posix_spawn when
available.
This should especially benefit recent macOS (where vfork just calls
fork), but should have equivalent or faster performance on all
platforms.
In addition, the implementation is substantially simpler than the
vfork+exe