StSpawn exit code
Brought to you by:
tpsfadmin
Add a "Last Exit Code" property.
By calling GetExitCodeProcess, you can get the last exit
code of an application.
I added this in the TStSpawnApplication.DoOnThreadEnd
procedure just before the notify event is called.
GetExitCodeProcess(FWaitThread.WaitFors^
[0],FLastExitCode);