mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 13:43:10 +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
|