On Tue, Dec 4, 2018 at 10:32 PM Ladislav Michl <address@hidden
> 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.