blob: ed9c162191f37fca7be368c9f83ea8c65764d2dc (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/python
import dbus
bus = dbus.SessionBus()
proxy_obj = bus.get_object('com.redhat.Sugar.Shell', '/com/redhat/Sugar/Shell')
shell = dbus.Interface(proxy_obj, 'com.redhat.Sugar.Shell')
shell.show_console()
|