I am writing a Fortran program that is to invoke a previously written program. Essentially, my program will create an input file and invoke the external program. The input file will then be read by the external program which will compute a set of data and generate and output file. My program will then read this output file.
I am able to invoke the external program using CALL EXECUTE_COMMAND_LINE("FILENAME")
. However, the external program requests an input file name.
How do I pass the input file name to a program invoked within Fortran?