I'd like to execute a process, and check how long it takes for the various ui windows to appear. I was going to use something like this:
let a = cpuTime()
discard execShellCmd("runTheExeFile.bat")
some wAuto code here
let z = cputTime
So how else should I go about this? Should I just spawn this execShellCmd ? then the timers can work as desired after?
Oh God, you're completely right. I renamed the file after switching to StartProcess. Unfortunately, I was executing the original executable, not the new renamed version.
Sigh. More coffee.