I am using the Python/C API with my app and am wondering how you can get console output with a gui app. When there is a script error, it is displayed via printf but this obviously has no effect with a gui app. I want to be able to obtain the output without creating a console. Can this be done?
Edit - Im using Windows, btw.
Edit - The Python/C library internally calls printf and does so before any script can be loaded and run. If there is an error I want to be able to get it.