in reply to Re: help needede in backticks(``) and system function
in thread help needede in backticks(``) and system function

thanks ikegami.... will both the execution will interrupt the paren.i mean, will parent program wait until the child completes execution.
  • Comment on Re^2: help needede in backticks(``) and system function

Replies are listed 'Best First'.
Re^3: help needede in backticks(``) and system function
by ikegami (Patriarch) on Feb 10, 2006 at 06:41 UTC

    Yes, the parent will wait in both cases. Unless you do execute something like command & (unix) or start command (Windows).

    fork+exec doesn't wait.
    IPC::Open3 doesn't wait.
    IPC::Run can do both.
    The special syntax system 1, ... in Windows doesn't wait.