Exemple #1
0
 def backend_version(self):
     stdout = EasyProcess([PROGRAM, "-version"]).call().stdout
     s = stdout.splitlines()[0]
     return extract_version(s.replace("-", " "))
 def backend_version(self):
     p = EasyProcess([PROGRAM, "--version"])
     p.enable_stdout_log = False
     p.enable_stderr_log = False
     p.call()
     return extract_version(p.stdout.replace("-", " "))
Exemple #3
0
 def backend_version(self):
     return extract_version(
         EasyProcess([PROGRAM, "-version"]).call().stdout)