From 5a6e3cbcb03c3f756344a38259f3774ddaf1a63d Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Mon, 11 Mar 2024 13:05:37 -0500 Subject: SCons: Remove `run_in_subprocess` dependency --- core/object/make_virtuals.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core/object/make_virtuals.py') diff --git a/core/object/make_virtuals.py b/core/object/make_virtuals.py index e2a8e656b7..7a85753072 100644 --- a/core/object/make_virtuals.py +++ b/core/object/make_virtuals.py @@ -201,11 +201,5 @@ def run(target, source, env): txt += "#endif // GDVIRTUAL_GEN_H\n" - with open(target[0], "w", encoding="utf-8", newline="\n") as f: + with open(str(target[0]), "w", encoding="utf-8", newline="\n") as f: f.write(txt) - - -if __name__ == "__main__": - from platform_methods import subprocess_main - - subprocess_main(globals()) -- cgit v1.2.3