Run command can spawn only windows executable programs (EXE) files. You can pass command line arguments to these EXE programs. This EXE program can communicate with Xtend IVR script using the $varfile variable. Xtend IVR keeps all active variables in a text file and the name of the text file is available in variable $varfile. You can call the EXE program with this $varfile as its command line parameter like:
RUN "myprogram.exe" $varfile