PTU5KAS/kas
Jan Kiszka dd04836896 Ignore SIGINT/TERM at kas level, let sub-processes handle it
This seems to be the cleanest and simplest way of properly terminating
kas while one or more sub-processes are running: just ignore the signal.
The sub-processes will get it as well, and they will terminate
themselves properly. kas will get an error then and shut down. Problem
solved.

Forwarding the signal didn't work reliably anyway because we couldn't
count on kas being a process group leader in all cases.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2017-07-06 09:05:52 +02:00
..
__init__.py Implement file version and a check when using it 2017-06-21 17:30:51 +02:00
__main__.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
__version__.py Implement file version and a check when using it 2017-06-21 17:30:51 +02:00
build.py Added and fixed documentation for kas command line 2017-06-28 15:12:15 +02:00
config.py config: Write out config headers in sections 2017-07-06 09:05:04 +02:00
includehandler.py Fixed issues that occured with pylint 1.7.2 2017-06-28 15:10:14 +02:00
kas.py Ignore SIGINT/TERM at kas level, let sub-processes handle it 2017-07-06 09:05:52 +02:00
libcmds.py libkas: Rework repo_fetch to parallelized repos_fetch 2017-06-28 14:51:29 +02:00
libkas.py libkas: Terminate kas on _repo_fetch_async errors 2017-07-06 09:05:49 +02:00
repos.py Fixed issues that occured with pylint 1.7.2 2017-06-28 15:10:14 +02:00
shell.py Added and fixed documentation for kas command line 2017-06-28 15:12:15 +02:00