derp
parent
2f23869a55
commit
5c932f44e6
|
@ -30,6 +30,5 @@ if __name__ == "__main__":
|
||||||
object_path = "/Sessions/{id}".format(id=x)
|
object_path = "/Sessions/{id}".format(id=x)
|
||||||
session = session_bus.get_object(KONSOLE_PATH, object_path)
|
session = session_bus.get_object(KONSOLE_PATH, object_path)
|
||||||
foreground_id = session.foregroundProcessId()
|
foreground_id = session.foregroundProcessId()
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
if is_shell(foreground_id):
|
if is_shell(foreground_id):
|
||||||
session.runCommand("\15exit")
|
session.runCommand("\15exit")
|
||||||
|
|
Loading…
Reference in New Issue