now that's the trouble. the code has set/p which wait for user input, and the output of evolvebatch seems to be real-time.
couple of solutions i can think off:
1. - double up every echo statement and set/p string, eg. "echo blablabla 1>&2"
- save output of evolve_batch to temp.txt eg. "evolve_batch>temp.txt",
- then when finish running, output to screen with double-type command:
type temp.txt & type temp.txt 1>&2
- then when running batchfile you from command prompt. "script.bat 2>log.txt"
2. convert the code to vbscript, and use wscript.stdout.read method???
3. should be a something more simpler solution exist, but my brain stuck