Example:
Lets say I have this test.bat file:
Код
START C:\Windows\NOTEPAD.EXE
With notepad.exe is hard to see the problem, so change the path to any application which loads slower. (Ex: D:\Game\CLIENT.EXE)
Then I start this script:
Код
--lua
wait(1000)
execandwait("D:\\test.bat")
And script stops before the given .EXE is executed.
Does anyone faced this problem and can it be solved?