As Robert suggest it was just a matter of properly quoting. Here's what ended up working.
command := """" . adbPath . """ -s " . deviceAddress . " exec-out screencap -p > """ . outputFile . """" RunWait, %ComSpec% /c "%command%", , Hide