bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introduce posix_spawn


From: Bernhard Voelker
Subject: Re: Introduce posix_spawn
Date: Fri, 14 Sep 2018 08:15:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 9/7/18 7:24 AM, Barath Aron wrote:
> Any thoughts on posix_spawn()?

It seems to be possible now with the ...addfchdir() function for find/exec.c.
In xargs, the error detection is a bit more detailed, so this might become a
bit more complicated.

In general, I think the code will have to be doubled, i.e., it seems we'll
have to maintain both the fork+execv and the posix_spawn way in code.
It should be configurable which of them has to be activated; however,
for GNU/Linux, I'd stick to the well-working fork+exec per default.

Anyway, I think this should go into a release following the imminent 4.6.1.

Finally, if you contribute some code, then we need to roll the ball for
the copyright assignment to the FSF.

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]