Tasmota/lib/lib_display/Display_Renderer-gemu-1.0/docs/repo_util.py

6 lines
90 B
Python

import re
import os
def run_cmd_get_output(cmd):
return os.popen(cmd).read().strip()