blob: 538715d67f3dcc452d5ea96d37fcfa4afc66b963 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/python
import dbus
import dbus.glib
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()
|