Help -- How to output error messages to a file for scripts called by system calls???# Programming - 葵花宝典
y*n
1 楼
This might be a very simple question for most of the people here.I am using
Perl.I have to use system calls to run another fortran script. I am running
this fortran script on thousands of different input files. For some files,
the script doesn't work and output an error message. I need to get these
error messages. But I don't know how to do this. Please help!!!!
If I run this fortran script independently, the error message will be
through the standard output. But using the system calls, I don't
Perl.I have to use system calls to run another fortran script. I am running
this fortran script on thousands of different input files. For some files,
the script doesn't work and output an error message. I need to get these
error messages. But I don't know how to do this. Please help!!!!
If I run this fortran script independently, the error message will be
through the standard output. But using the system calls, I don't