trick/trick_source/trick_gsetup/util.py

6 lines
156 B
Python
Raw Normal View History

import subprocess
def run(program):
print("Running:", program)
process = subprocess.run(program.split(" "), capture_output=True)
return process