qrexec: use tray notification when VM needs to be started

For both successful start and the failed one

Fixes QubesOS/qubes-issues#1446
pull/5/head
Marek Marczykowski-Górecki 9 years ago
parent f66be6c943
commit d9d48e8948
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -102,7 +102,7 @@ def spawn_target_if_necessary(vm):
# use qvm-run instead of vm.start() to make sure that nothing is written
# to stdout and nothing is read from stdin
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)
null.close()

Loading…
Cancel
Save