bin: prefer posix_spawn over fork+exec

* configure.ac: Test for <spawn.h>.
* bin/common_trans.cc: Use posix_spawn when available.
* NEWS: Mention the change.
* tests/core/ltldo.test: Adjust expected error message.
This commit is contained in:
Alexandre Duret-Lutz 2019-04-14 14:52:26 +02:00
parent 4740adeb09
commit d65ceb0bc8
4 changed files with 174 additions and 62 deletions

3
NEWS
View file

@ -5,6 +5,9 @@ New in spot 2.7.2.dev (not yet released)
- autfilt learned --highlight-accepting-run=NUM to highlight some
accepting run with color NUM.
- ltldo, ltlcross, and autcross are now preferring posix_spawn()
over fork()+exec() when available.
Library:
- Add generic_accepting_run() as a variant of generic_emptiness_check() that