def backend_version(self): return extract_version( EasyProcess([PROGRAM, '--version']).call().stdout.replace('-', ' '))
def backend_version(self): return extract_version( EasyProcess([PROGRAM, '-version']).call().stdout)
def backend_version(self): return extract_version( EasyProcess([PROGRAM, "--version"]).call().stdout.replace("-", " ") )
def backend_version(self): stdout = EasyProcess([PROGRAM, "-version"]).call().stdout s = stdout.splitlines()[0] return extract_version(s.replace("-", " "))