mirror of
https://github.com/nophead/Mendel90.git
synced 2025-01-29 10:28:33 +01:00
b4f3f2040f
you need to get MSVCR100D.dll somewhere to get included openscad_cl running
12 lines
273 B
Python
12 lines
273 B
Python
import subprocess
|
|
import os
|
|
|
|
def run(*args):
|
|
if os.name == "nt":
|
|
subprocess.call(["openscad_cl"] + list(args))
|
|
else:
|
|
log = open("openscad.log", "w")
|
|
subprocess.call(["openscad"] + list(args), stdout = log, stderr = log)
|
|
log.close()
|
|
|