http://www.perlmonks.org?node_id=1074946


in reply to problems with exec command

Corion++

Hello Striker,

I can see that you are executing the run_suite.shscript using exec. exec executes a command and never returns.

If the script is not found exec returns false. It never returns true, because if the script is found it never returns at all.

If you use the system, it executes the script and your Perl script is continued after the command has finished.


All is well