mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 15:26:41 +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
|