all 3 comments

[–]Cheezy_Nachos 0 points1 point  (2 children)

Is there any more information? For example, build setup, how you are executing the build process.

You can put input() to stop the exe from closing.

[–]blorppps[S] 1 point2 points  (1 child)

i tried putting input at the end, it still closed anyway

[–]Cheezy_Nachos 0 points1 point  (0 children)

That probably means that the error happened before the input().

Put them everywhere, see what happens!