I added a command line switch to hide the execution
of the program(_vfp.Visible = .F.) but I got 2 problems:
1. The Wait Window still display
I could patch that the hard way with my own wait function
2. The program will stay in memory after execution.
I tried running with _vfp.Visible = .T. and it closed
correctly. That was the only changed made.
_vfp.Visible = .F. is in the first lines of the main .prg
Any ideas?