All Forums >> [Scripting] >> ASP >> Wscript.Exec from ASP/VBScript -- should I Sleep? Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I'm hoping you might have some suggestions about the best way to invoke a server-side command line process from within an VBScript ASP page.
I'm using a WScript.Shell object and calling the Exec method on it, as shown in the standard Microsoft documentation -- but I'm having a bit of trouble with the "sleep while running" loop.
I had originally left that loop out, in favor of something more like the following:
However, in testing the server process for that page seemed to hang without completing.