mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
10 lines
193 B
Python
10 lines
193 B
Python
import subprocess
|
|
import logging
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def runProcess(cmd):
|
|
logger.debug(f"run process: \"{cmd}\"")
|
|
subprocess.run(cmd, shell=True).check_returncode()
|