code: def command_line(cmd):
      
      try:
          s = subprocess.Popen(cmd, stdout=subprocess.PIPE)
          s = s.stdout.read()
  
          return s.strip()
  
      except subprocess.CalledProcessError:
          return 0
docs: Handle the command line call
  
      keyword arguments:
      cmd = a list
  
      return
      0 if error
      or a string for the command line output