Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Systemqq Command

cloneboysa
Beginner
273 Views
Hi,















How do I make the program wait for the systemqq command to finish before moving to the next line of code (like it does under Windows)? I need the program to wait as I need the results from external program execution.




For example:
result1 = systemqq('./failcheck.out') !Failcheck

OPEN(6, FILE = 'failchk.dat')

READ(6, *) fail

CLOSE(6)


I need the failcheck external program to finish before I can access failchck.dat.













Many thanks,
David

Message Edited by cloneboysa on 10-26-2005 03:12 AM

0 Kudos
1 Reply
cloneboysa
Beginner
273 Views
Never mind - solved the problem on my own. :)

David
0 Kudos
Reply