def test_process_kill_deep_wait(self): """Process is started, we use a deep process tree, we let it spawn for a bit, we kill it"""
p = processhandler.ProcessHandler(
[self.python, self.proclaunch, "process_normal_deep.ini"],
cwd=here,
)
p.run() # Let the tree spawn a bit, before attempting to kill
time.sleep(3)
p.kill()
def test_process_kill_broad_delayed(self): """Process is started, we use a broad process tree, we let it spawn for a bit, we kill it"""
p = processhandler.ProcessHandler(
[self.python, self.proclaunch, "process_normal_broad.ini"],
cwd=here,
)
p.run() # Let the tree spawn a bit, before attempting to kill
time.sleep(3)
p.kill()
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.