|just check the process list with batch and see if your program is running if not start it|
then put a 1 second or more wait in between times it checks.
then make it also loop
tasklist /FI "IMAGENAME eq myapp.exe" 2>NUL | find /I /N "myapp.exe">NUL
if "%ERRORLEVEL%"=="0" goto running
:: This will have it wait about 1 second change "1000" to make it wait longer
PING 188.8.131.52 -n 1 -w 1000 >NUL
echo Checking if program is running..
echo Starting program
start "your file"
I did not test this but im pretty sure it will work