When I remove the --gui option I get a run-time error but that kind of what I expected. The program creates a gui and I am trying to run it without using the gui option. I should note that I can use pp to create non-gui programs and they execute just fine.
Comment on Re^4: pp with gui (debug without --gui)
I don't think you understand what the -gui option does. Please read the pp documentation. If you have a run time error you need to address it, if you want advice you should tell us what it says. How do I post a question effectively?.