mirror of
https://github.com/nasa/trick.git
synced 2025-01-26 14:19:23 +00:00
6 lines
156 B
Python
6 lines
156 B
Python
import subprocess
|
|
|
|
def run(program):
|
|
print("Running:", program)
|
|
process = subprocess.run(program.split(" "), capture_output=True)
|
|
return process |