Browse Source

Fix unicode handling in command to run

Thanks @igilik for the patch!

Fixes QubesOS/qubes-issues#2040
Marek Marczykowski-Górecki 7 years ago
parent
commit
f34328836e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesmanager/main.py

+ 1 - 1
qubesmanager/main.py

@@ -1461,7 +1461,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
             return
         thread_monitor = ThreadMonitor()
         thread = threading.Thread(target=self.do_run_command_in_vm, args=(
-            vm, str(command_to_run), thread_monitor))
+            vm, unicode(command_to_run), thread_monitor))
         thread.daemon = True
         thread.start()