Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system questions

Status
Not open for further replies.

Katto

Technical User
Apr 6, 2005
42
US
1. I am calling an executable from Fortran using the call system(filename.exe) routine.
Is there another function that can wait for the filename.exe to finish before gets to the execution of the next line ?

2. If not, is there a function like "call wait(###)" where ### are time units? at least I could estimate the cpu time required for filename.exe to finish and then resume

Thanks

Katto
 
The system is not a standard Fortran routine. See your compiler linrary docs. As usually, system() call is synchronous, system() returns only after cmd exit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top