Does anyone know of a way of stopping execution of a VB6 program until after a shelled program has been run?

So that if I have something like

Shell "C:\WINDOWS\Desktop\tmp.exe"
Kill "C:\WINDOWS\Desktop\tmp.exe"


I can wait until tmp.exe has stopped running to get rid of it?