So after my Python-Blender script finishes running from the command line, the command line window immediately closes..not giving me a chance to see any feedback, errors, etc. Can I make it not close? It would be super helpful if I can read the errors that my code outputs to the command line window before it closes.

Thanks in advance :)

  • $\begingroup$ one idea would be that you write your feedback/error to a txt file - so you can check later ;) $\endgroup$
    – Chris
    Jan 3, 2023 at 9:54
  • $\begingroup$ Open cmd and then cd to the blender installation path. Then run blender.exe or your blender script from that directory. Once you close the exe or the script finishes, your command line will still remain open. Same thing on linux and unix-based systems. $\endgroup$ Jan 4, 2023 at 8:14

1 Answer 1


You can python input() method. I use it for debugging Blender Python scripts both in CLI mode or GUI mode of running Blender.

input("Press Enter to continue")

Only catch is that it does not flush the input buffer


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .