http://unattended.sourceforge.net/installers.php

says

"AutoIt provides Run and RunWait primitives, but it does not provide a
way to wait for the termination of an application which was invoked by
Run. If it did, this race condition could be avoided."

That isn't true. I've used the following successfully:

        $pid = Run($cmd)

        While ProcessExists($pid)
                ; wait for process to end
        Wend

Best,

-Ross

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to