altlinux-autorepacked/autorepacked/utils.py
2024-01-16 20:45:06 +03:00

10 lines
169 B
Python

import subprocess
def run(args, cwd=None):
return subprocess.run(
args=args,
cwd=cwd,
stdout=subprocess.PIPE,
).stdout.decode('utf-8')