just send eot

This commit is contained in:
d42 2020-04-26 19:09:17 +02:00
parent 5c932f44e6
commit 59744898cf

View file

@ -31,4 +31,4 @@ if __name__ == "__main__":
session = session_bus.get_object(KONSOLE_PATH, object_path)
foreground_id = session.foregroundProcessId()
if is_shell(foreground_id):
session.runCommand("\15exit")
session.sendText("\4")