Re: Testing algorithm

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu