code: def get_version(cls):
          
          cmd_pieces = [cls.tool, '--version']
          process = Popen(cmd_pieces, stdout=PIPE, stderr=PIPE)
          out, err = process.communicate()
          if err:
              return ''
          else:
              return out.splitlines()[0].strip()
docs: Return the version number of the tool.