How to auto close script after it has run successfully

I have an executable that I have created that is basically an FTP script. My only issue is that I have no way to force close it after the script has completed its task. Does anyone know how to do this. I cannot have a person manually close the executable each time it is run.


Take a look in the Documentation.


When your script has done its task, you can call the ExeOutput’s internal HEScript function named ExitPublication. It will close the program.

You can see in the documentation tutorials
and samples about calling HEScript functions from PHP code (or our general demo
that ships with ExeOutput).