summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord42 <d42@users.noreply.github.com>2020-04-26 19:09:17 +0200
committerd42 <d42@users.noreply.github.com>2020-04-26 19:09:17 +0200
commit59744898cf6b11f7510b4a7e0442f88a8abfe49c (patch)
tree0c71a812e9217fea9589c7efa18148b8bca204bd
parent5c932f44e696eb6d86b55842f7aa6a97bc2d3414 (diff)
downloadKonsoleKiller-master.tar.gz
KonsoleKiller-master.tar.bz2
KonsoleKiller-master.zip
just send eotHEADmaster
-rwxr-xr-xkillusall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/killusall.py b/killusall.py
index e23683a..8b4192f 100755
--- a/killusall.py
+++ b/killusall.py
@@ -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")