diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-03-29 17:27:26 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-03-31 20:13:35 +1100 |
| commit | 5d00b80d1a0c9176ada79a1a0118d77bb8645302 (patch) | |
| tree | e42cf33ecfc83f0cab2a7c181d0c6246d5413784 /rc/tools/python | |
| parent | 9faad8c0237ed280f7ed9dc7ce46fbf83cdb75e1 (diff) | |
Revert "Send SIGTERM on <c-c>, to more reliably kill background jobs"
Overloading SIGTERM like that causes issues; specifically if the
editor is invoked (without exec) from a wrapper script.
By sending SIGTERM to whole process group, we kill our parent process
(the wrapper script) which then sends SIGTERM to Kakoune. By this
time Kakoune has already reset the SIGTERM handler to the default
action and terminates.
We can use a different fix for the problem that some shells don't
cancel "make", see the next patch.
This reverts commit ec44d98347fe5e5bdcaff77db61df636644a1ee2.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
