in reply to Re: which module - linux/process
in thread which module - linux/process

or system if the command output is not going to be used later:
system($command, @args);

It is documented in perlfunc

Replies are listed 'Best First'.
Re^3: which module - linux/process
by Anonymous Monk on Sep 25, 2007 at 11:02 UTC

    Yes, system(command,args) is what i use

    What i need is to wait for the above command to complete and control passed back to the perl script, so i can do something more in there

      but that's what system does!

      Maybe the shell script you are calling is forking more processes and not waiting for them.

      system will fork/exec and wait