ExecWait always waits for the child process, when you say it does not wait then it means that this child process starts child processes of its own and ExecWait does not wait for those. First you should investigate if the thing you are running supports some type of command line parameter that makes it "waitable" and if it does not have one then the only solution is NT job objects.
Show me how you call the macro and I'll take a look this weekend...
IntOp $PostCount $PostCount + 1
|