B
Barney
I have a shell script that (loosely speaking) calls a WSH
script (CleanupHTML.vbs) whose contents I have not posted
because I don't think they matter.
An excerpt from my shell script is as follows:
..
..
..
START "HTML Cleanup" /WAIT CleanupHTML.vbs
PING 127.0.0.1 -n 31 -w 1 >NUL
..
..
..
The problem is: The first shell script is not waiting for
CleanupHTML.vbs to complete before executing the
statements after it. I have added the PING command to
create a 30 second delay to allow the vbs script to
finish. I also tried to CALL the vbs file but this did
not work either. My workaround using PING is working but
I am curious to know why START /WAIT is not.
script (CleanupHTML.vbs) whose contents I have not posted
because I don't think they matter.
An excerpt from my shell script is as follows:
..
..
..
START "HTML Cleanup" /WAIT CleanupHTML.vbs
PING 127.0.0.1 -n 31 -w 1 >NUL
..
..
..
The problem is: The first shell script is not waiting for
CleanupHTML.vbs to complete before executing the
statements after it. I have added the PING command to
create a 30 second delay to allow the vbs script to
finish. I also tried to CALL the vbs file but this did
not work either. My workaround using PING is working but
I am curious to know why START /WAIT is not.