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:
parent
f66be6c943
commit
d9d48e8948
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user