Implement writing to child process

This commit is contained in:
Kovid Goyal
2016-10-16 19:38:35 +05:30
parent 29ba13835a
commit f7eaf3fee5
4 changed files with 38 additions and 15 deletions

View File

@@ -59,6 +59,9 @@ class MainWindow(QMainWindow):
if signal.SIGINT in signals or signal.SIGTERM in signals:
self.shutdown()
def child_process_died(self):
self.shutdown()
def shutdown(self):
self.close()
self.boss.shutdown()