Paul Eggert wrote:
> Thanks.  Either of those would work.

Good. I'll concentrate on option 4 in the next few days. This part is
needed for option 3 as well.

> I prefer option 3
> (popenv / systemv) as it offers more opportunity for
> optimization on GNUish hosts, which can use vfork or the
> equivalent to get better performance.  Such optimizations
> aren't that important for diffutils but might matter
> more in other applications.

OK. I think Eli's immediate needs will be fulfilled by option 4
(system-quote.h), but if you want to implement option 3 (popenv, systemv)
on top of that, feel free to.

For applications that want the optimized code - no use of /bin/sh and
use of vfork() if possible - we currently have the 'execute' and 'spawn-pipe'
modules; so the current situation is not that bad. (It would be even better
if we had a posix_spawn that works also on mingw. Has been on my TODO list
for ages...)

Bruno


Reply via email to