import os, sys, traceback
def p(*a): print(*a, flush=True)
try:
    base = os.path.dirname(os.path.abspath(__file__))
    os.chdir(base)
    sys.argv = ["stepanalyser.py", "--material", "stainless"]
    code = open("stepanalyser.py", "r", encoding="utf-8").read()
    exec(compile(code, "stepanalyser.py", "exec"), {"__name__": "__main__"})
except Exception:
    p("RUNNER ERROR:")
    p(traceback.format_exc())
finally:
    os._exit(0)
