vijay6105
12 years agoContributor
Wait for batch file execution complete
Hi,
I'm running batch file from my script. So batch file is doing an installation of an .msi file. I have to wait till the installation completes and continue with my script execution
Problem is I don't know how much time the installation takes. Do we have any return value or a method to check/wait till the batch file execution is completed
' Script 1 lines
' Batch file execution
'Script 2 lines
I have to wait/check batch file execution completed and continue with script 2 execution
I'm running batch file from my script. So batch file is doing an installation of an .msi file. I have to wait till the installation completes and continue with my script execution
Problem is I don't know how much time the installation takes. Do we have any return value or a method to check/wait till the batch file execution is completed
' Script 1 lines
' Batch file execution
'Script 2 lines
I have to wait/check batch file execution completed and continue with script 2 execution