system("application.exe 2>&1 | logscript.bat &");