Explorar o código

Exit PreStart Script

own3mall %!s(int64=5) %!d(string=hai) anos
pai
achega
e0910b3fdf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      OGP/ogp_agent.pl

+ 1 - 1
OGP/ogp_agent.pl

@@ -1696,7 +1696,7 @@ sub run_before_start_commands
 			print FILE "exit\r\n";
 			close FILE;
 			chmod 0755, $prestartcmdfile;
-			system("cmd /Q /C start \"$prestartcmdfile\"");
+			system("cmd /Q /C start /wait \"$prestartcmdfile\"");
 			system("cmd /Q /C del \"$prestartcmdfile\"");
 		}