controller.packages.Packages.get_bin_version

classmethod Packages.get_bin_version(exec_cmd, option=None, clean_output=True)[source]

Retrieve the version of a binary

Parameters:
  • exec_cmd (str)

  • option (Optional[List[str]], default: None)

  • clean_output (bool, default: True)

Return type:

Optional[str]