Tasmota/lib/lib_display/esp-epaper-29-ws-20171230-g.../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()