Merge remote-tracking branch 'origin/pr/306'
* origin/pr/306: Don't pass stdin to VMs unless necessary.
This commit is contained in:
commit
f36c902712
@ -15,7 +15,7 @@ def is_program_installed_in_qube( program, qube_name ):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
command = 'command -v ' + program
|
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:
|
except subprocess.CalledProcessError:
|
||||||
is_installed = False
|
is_installed = False
|
||||||
|
Loading…
Reference in New Issue
Block a user