Or allow time for the other app to kick in.
//run app.exe | .timer 1 1 showmirc -r
The delay depending on the app being run.