Thanks! Didn't see the $RUN_CREATE_NEW_CONSOLE flag at all.
However I'm able to see the output data now, using RunWait with the $RUN_CREATE_NEW_CONSOLE flag set; I am unable to capture the output text with RunWait?
So took a look at Run and got it to work this way:
;--->>> Run CMD
Local $cmd = Run($PATHwd_cwrsync&$tmpfile, $PATHwd_cwrsync, @SW_MAXIMIZE, $STDERR_CHILD + $STDOUT_CHILD)
;<<<--- Run CMD
;--->>> Read from child's STDOUT
Local $data
While 1
$data &= StdoutRead($cmd)
If @error Then ExitLoop
$data &= StderrRead($cmd)
If @error Then ExitLoop
Wend
MsgBox(0, "Debug", $data)
;<<<--- Read from child's STDOUT
One small drawback, with the flags $STDERR_CHILD + $STDOUT_CHILD set, I don't see the data in realtime in the command prompt window (which does show without those flags set, however without them I'm unable to capture output + halt script till operation has finished). Is there a way I could both capture the output text and view it in de command prompt window?