diff --git a/projects/PyZpc/pyzfx.cpp b/projects/PyZpc/pyzfx.cpp index 8804b873d0..fd98b29f14 100644 --- a/projects/PyZpc/pyzfx.cpp +++ b/projects/PyZpc/pyzfx.cpp @@ -191,7 +191,7 @@ struct PyZfx : INode { if (has_input("code")) { // path.empty() auto code = get_input2("code"); - auto tmpFile = zs::abs_exe_directory() + "/pyzfx.py"; + auto tmpFile = zs::abs_exe_directory() + "/__pyzfx__zstmp.py"; if (std::FILE* f = std::fopen(tmpFile.c_str(), "w")) { std::fwrite(code.data(), sizeof(char), code.size(), f); std::fclose(f);