Can Xblite call an external executable, passing arguments and retrieving the program's stdout? I couldn't find mention of this in the docs (although I found the section about calling external DLL functions).
Yes, this can be done using Shell(), a replacement for the SHELL intrinsic function. Look for the the demo console program shell.x (under \shell directory). You can pass args to the executable via the command$ arg.