def execute_get_output(*command):
    devnull = open(os.devnull, 'w')
    command = map(str, command)
    proc = subprocess.Popen(command, close_fds=True,
                            stdout=subprocess.PIPE, stderr=devnull)
    devnull.close()
    return proc.stdout.read().strip()
Return Image Magick version or None if it is unavailable
dataset/ETHPy150Open nii-cloud/dodai-compute/plugins/xenserver/networking/etc/xensource/scripts/novalib.py/execute_get_output--crossover with--dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py/get_pil_version