Don,

By way of a quick test ... does it still behave funky if you shell-out and wait for task completion like this:

SHELL "%COMSPEC% /C $RUNPROGRAM"

-Shawn