B
Bob Helber
I've got a perl script with a system command, within a for loop, that
calls a FORTRAN program. For one of the iterations of the for loop the
FORTRAN program quits with an error due to bad input. This then exits
the for loop and does not continue the loop, which I would like it to
do, even if the FORTRAN program crashes. How can I "catch" this error
and continue the loop. Do I have to fix the FORTRAN program to exit
more cleanly?
Thanks for any help.
calls a FORTRAN program. For one of the iterations of the for loop the
FORTRAN program quits with an error due to bad input. This then exits
the for loop and does not continue the loop, which I would like it to
do, even if the FORTRAN program crashes. How can I "catch" this error
and continue the loop. Do I have to fix the FORTRAN program to exit
more cleanly?
Thanks for any help.