summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")