Hi,
I’ve two Perl programs: ‘P1.pl’ and ‘P2.pl’.
I would like to execute ‘P2.pl’ from ‘P1.pl’.
Once ‘P1.pl’ will execute ‘P2.pl’, I need to add a timer that will take 3 min.
If ‘P2.pl’ will not terminated after 3 Min. ‘P1.pl’ will kill ‘P2.pl’ and exit with error message
*** Incidentally – I'm not sure if it is important but the code in P2.pl script is including system command embedded.
Please advice.
Thanks.