qrexec: use tray notification when VM needs to be started

For both successful start and the failed one

Fixes QubesOS/qubes-issues#1446
This commit is contained in:
Marek Marczykowski-Górecki 2015-12-26 02:09:06 +01:00
parent f66be6c943
commit d9d48e8948
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -102,7 +102,7 @@ def spawn_target_if_necessary(vm):
# use qvm-run instead of vm.start() to make sure that nothing is written # use qvm-run instead of vm.start() to make sure that nothing is written
# to stdout and nothing is read from stdin # to stdout and nothing is read from stdin
null = open("/dev/null", "r+") null = open("/dev/null", "r+")
subprocess.call(["qvm-run", "-a", "-q", vm.name, "true"], subprocess.call(["qvm-run", "-a", "-tray", "-q", vm.name, "true"],
stdin=null, stdout=null) stdin=null, stdout=null)
null.close() null.close()