gnokii-users
[Top][All Lists]
Advanced

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

Re: [PATCH v2 7/8] Use posix_spawn to run external scripts


From: Pawel Kot
Subject: Re: [PATCH v2 7/8] Use posix_spawn to run external scripts
Date: Mon, 20 Jan 2020 00:03:30 +0100

Hi,

On Tue, Dec 4, 2018 at 10:32 PM Ladislav Michl <address@hidden> wrote:
> posix_spawn specification dates back to last century and its
> implementation is mature enough in all systems we do support.
> Thus use it instead of current fork and exec in hope it will
> save us some resources.

So I think this one does more than described. My understanding is that now you can pass env variables into a script. Is that correct? And what was wrong with traditional fork/exec approach? I mean in our particular case. Did you run into oom in some setups?

I've merged all other patches except this one (and one related) and devices build refactor (which I do not like in this form) into github. Gonna give it try (more as in compiling in various setups) and if it works, I'll merge it to a master. Let me know if you'll find any issues with this version.

Cheers,
--
Pawel Kot

reply via email to

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