diff options
author | Helmut Grohne <helmut@subdivi.de> | 2016-12-09 10:29:55 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2016-12-09 10:29:55 +0100 |
commit | c285a5ff7665f41684a1f100679b6361ad6383af (patch) | |
tree | 81f46b591cc7ecd856d6696cc9544292b7b8976f /Makefile | |
parent | ab50ebaf61368c8ffdf4457371c055fb36af7a13 (diff) | |
download | tcvt-c285a5ff7665f41684a1f100679b6361ad6383af.tar.gz |
improve sub process handling: return child exit code
Wrap the management of the sub process in a new class ForkPty. This
reduces the length and number of variables in the main function. Turn it
into a context manager to allow closing the masterfd and actually
waiting for the forked child (rather than reparenting it to init on
exit). This also allows propagating the exit code. Document the new exit
semantics.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions