mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-16 20:38:15 +01:00
14 lines
294 B
Python
14 lines
294 B
Python
from __future__ import print_function
|
|
|
|
import subprocess
|
|
|
|
|
|
def run(*args):
|
|
print("openscad", end=" ")
|
|
for arg in args:
|
|
print(arg, end=" ")
|
|
print()
|
|
log = open("openscad.log", "w")
|
|
subprocess.call(["openscad"] + list(args), stdout = log, stderr = log)
|
|
log.close()
|