[m-rev.] for review: Call mdb 'list' external command using posix_spawnp.

Peter Wang novalazy at gmail.com
Tue Oct 6 12:50:38 AEDT 2020


On Tue, 06 Oct 2020 12:37:26 +1100 Peter Wang <novalazy at gmail.com> wrote:
> On Tue, 06 Oct 2020 01:45:25 +1100 "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> > 
> > Have you considered adding posix_spawn/spawnp to extras/posix?
> 
> It's a lot more work to generalise it to be suitable for a library.
> I also wouldn't find it useful myself, as I find it more fruitful to
> program to low-level C APIs directly within larger foreign code blocks,
> rather than (trying to) program C in Mercury syntax.

No, I overstated it. I could see a posix_spawn binding being useful
but I would want to preserve its generality and not present a cut down
version in extras/posix.

Peter


More information about the reviews mailing list