'Wait for process to finish or for specified number of
milliseconds to elapse.'

def wait(self, mSec=None):

    if (mSec is None):
        mSec = win32event.INFINITE
    return win32event.WaitForSingleObject(self.hProcess, mSec)
