Explorar el Código

Exit PreStart Script

own3mall hace 5 años
padre
commit
e0910b3fdf
Se han modificado 1 ficheros con 1 adiciones y 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\"");
 		}