View Full Version : Send an exit code from TU
Dnixon
02-05-2009, 07:51 AM
What I'm doing is running TU every hour from my AMS to check for an update. What I want to do is have it check and if there is no update start over the timer but if there is an update available I want to ask them if they want to update now or later. How do I send a code to AMS from TU without making the application exit?
jassing
02-11-2009, 10:48 AM
You could probably use something like named pipes api's; however, an 'exit code' requires 'exiting' so you'll need to do some sort of work around.
a simple, old school, way would be to use the temp folder and a specific file, tu would write a code the file;and ams would read the file...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.