in reply to Re: ClearCase Programming
in thread ClearCase Programming

I accept your view. But what i want is wait till the child process ends and then continue running the calling (parent process).

Replies are listed 'Best First'.
Re^3: ClearCase Programming
by dragonchild (Archbishop) on Jul 01, 2008 at 12:50 UTC
    Then you'll either want to use fork and waitpid or one of the many Fork modules on cpan that do that for you, such as Parallel::ForkManager.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Re^3: ClearCase Programming
by saberworks (Curate) on Jul 01, 2008 at 16:07 UTC
    Using system() to execute the command does make the script wait until it's finished. Read it in the docs: system