Re: Testing algorithm
- Posted by SDPringle Oct 09, 2008
- 946 views
The problem with running system_exec one line at a time is that the batch file is not only a set of commands. It also has flow control statements and labels.
The best I can do is test for any such *.err file, test for the exe file. If neither exist for five seconds time-out and then you have your failure based on the existence of the exe file. The lesser of evils you might say.
Shawn