예제 #1
0
 def execute_command(self, command):
     print("Running command '{}'".format(command))
     thread = exec_in_thread(command)
     try:
         GLib.MainLoop().run()
     except KeyboardInterrupt:
         thread.stop()
예제 #2
0
 def execute_command(self, command):
     print("Running command '{}'".format(command))
     thread = exec_in_thread(command)
     try:
         GLib.MainLoop().run()
     except KeyboardInterrupt:
         thread.stop()
예제 #3
0
 def execute_command(command):
     """
         Execute an arbitrary command in a Lutris context
         with the runtime enabled and monitored by LutrisThread
     """
     logger.info("Running command '%s'", command)
     thread = exec_in_thread(command)
     try:
         GLib.MainLoop().run()
     except KeyboardInterrupt:
         thread.stop()
예제 #4
0
 def execute_command(self, command):
     """
         Execute an arbitrary command in a Lutris context
         with the runtime enabled and monitored by LutrisThread
     """
     logger.info("Running command '{}'".format(command))
     thread = exec_in_thread(command)
     try:
         GLib.MainLoop().run()
     except KeyboardInterrupt:
         thread.stop()