spotcgi: correctly kill ltl3ba on timeout

* python/spot/__init__.py (automata): Do not create a session for
every command, this is only needed if automata() is run with a timeout
parameter.
* python/ajax/spotcgi.in: Adjust exclude the main process from
the process group, so that only children are killed on SIGALRM.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2016-12-15 13:35:20 +01:00
parent 15709084b8
commit 38fdb40eaf
3 changed files with 18 additions and 6 deletions

3
NEWS
View file

@ -27,6 +27,9 @@ New in spot 2.2.1.dev (Not yet released)
* ltlfilt --from-ltlf should ensure that "alive" holds initially in
order to reject empty traces.
* the on-line translator had a bug where a long ltl3ba process would
continue running even after the script had timeout'ed.
New in spot 2.2.1 (2016-11-21)
Bug fix: