def METHOD_NAME(*args_tuple, tag="ol_run"):
    args = list(args_tuple)
    stdout_f = open(os.path.join(log_dir, f"{tag}.stdout"), "w")
    stderr_f = open(os.path.join(log_dir, f"{tag}.stderr"), "w")
    cmd = [f"{openlane_dir}/flow.tcl"] + args
    status = subprocess.run(cmd, stdout=stdout_f, stderr=stderr_f)
    stdout_f.close()
    stderr_f.close()
    if status.returncode != 0:
        raise Exception(f"{args} failed with exit code {status.returncode}")