Don't pass stdin to VMs unless necessary.
Fixes QubesOS/qubes-issues#5562
This commit is contained in:
parent
35fa733a67
commit
698bcc27ab
@ -15,7 +15,7 @@ def is_program_installed_in_qube( program, qube_name ):
|
||||
|
||||
try:
|
||||
command = 'command -v ' + program
|
||||
subprocess.check_call([ 'qvm-run', qube_name, '--pass-io', '--no-color-output', command ], stdout = open( os.devnull, 'w' ) )
|
||||
subprocess.check_call([ 'qvm-run', '--no-color-output', qube_name, command ], stdout = open( os.devnull, 'w' ) )
|
||||
|
||||
except subprocess.CalledProcessError:
|
||||
is_installed = False
|
||||
|
Loading…
Reference in New Issue
Block a user