This isn't very googleable, and other than writing prog.exe -params several times in a batch file (which would obviously only work as many times as I wrote it) I can't think how to repeatedly do this.
The CLI program I'm running sometimes crashes. I don't want to manually restart it every time it does.