On 02/15/16 20:03, Greg Stark wrote:
> On Tue, Feb 16, 2016 at 12:51 AM, Chapman Flack wrote:
>> If the calling process subsequently waits for its
>> children, and the process has no unwaited for children that were
>> transformed into zombie processes, it will block until all of its
>>
On Tue, Feb 16, 2016 at 12:51 AM, Chapman Flack wrote:
> If the calling process subsequently waits for its
> children, and the process has no unwaited for children that were
> transformed into zombie processes, it will block until all of its
> children terminate, and wait(), wait3(), w
On 02/15/16 13:42, Greg Stark wrote:
> (it returns error with errno ECHILD upon successful completion of
> commands).
> This fix ignores an error from system() if errno == ECHILD.
>
> It looks like Linux now behaves similarly,
It seems to be official, in the Single Unix Specification:
h
For reasons, I was trying to compile older versions of Postgres and
ran into a strange behaviour where system() worked normally but then
returned -1 with errno set to ECHILD. And surprisingly it looks like
we've seen this behaviour in the past but on a Solaris:
commit 07d4d36aae79cf2ac365e381ed3e7