Quote:
All I'm trying to do is notify a channel when a batch process is complete.

You can call /xrun with the -w (wait) flag, e.g. //xrun -wn file.bat | msg #chan Finished.