just send eot
This commit is contained in:
parent
5c932f44e6
commit
59744898cf
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue