]> git.lyx.org Git - features.git/commit
Prevent zombie processes (#8774)
authorScott Kostyshak <skostysh@lyx.org>
Tue, 16 Jul 2013 04:39:28 +0000 (00:39 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 16 Jul 2013 05:02:28 +0000 (01:02 -0400)
commit5225821242887ff552b7370df9c830af5f17d3b3
tree8015bd425034edf4239cfc1210a56d78feaf1bba
parent5b7152a45563f1d77d541f0202db2770b9c3847e
Prevent zombie processes (#8774)

Using Systemcall::startscript() with Starttype::DontWait used to create
zombie processes, as nobody would collect them. This patch starts those
processes as detached, hence preventing them from becoming zombies.

In addition to #8774, this bug was also reported here:
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1096666

Patch from Guy Rutenberg. For reference, see this email thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180034.html
lib/generate_contributions.py
src/support/Systemcall.cpp
src/support/SystemcallPrivate.h