in reply to Win32::Process not waiting

My Perl parent keeps processing

That's odd, since there's nothing after the Wait. How can you even tell?

Replies are listed 'Best First'.
Re^2: Win32::Process not waiting
by Stephen Toney (Sexton) on Feb 15, 2007 at 16:24 UTC
    Thanks. My comment "# more code" was intended to show that there was additional stuff there but not included.
      Please don't show us one program and talk about another. What problem does the program you posted exhibit?
        Not sure what you mean. The problem of Win32::Process not waiting is shown in the code I posted. The problem is that $ProcessObj->Wait(INFINITE) is NOT waiting, but going on to other code that I didn't show because it isn't relevant. Thanks!
Re^2: Win32::Process not waiting
by Stephen Toney (Sexton) on Feb 15, 2007 at 18:00 UTC
    I just had another thought, rereading your replies. Maybe my misunderstanding is even worse than I thought. Isn't the parent program supposed to wait at $ProcessObj->Wait(INFINITE)? In other words, whatever happens after that line should wait until the child finishes. Is that right?

    If I'm wrong about that, it would explain my confusion!