Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutdown and EXE
Message
From
01/05/2009 14:30:52
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01397454
Message ID:
01397485
Views:
36
>>I have a compiled EXE that serves to produce PDF output from a website. Occassionally it runs into trouble when the parameters sent to it produce a nonsensical query and it hangs or crashes. This leaves an instance running on the webserver that gets in the way of replacing the EXE with a newer version until IIS or even the server box is rebooted. I'm trying to devise a way to cause the EXE to shutdown in the event of an error or if it gets caught in an infinate loop. Thoughts include some type of timer setup and/or a "QUIT" in the catch section of a try/catch sequence.
>>
>>Thoughts or ideas?
>>
>>Thanks
>
>You can always kill your executable.

Ah yes. I was just wondering about the best way to trigger the kill.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform