Hi everyone,
I have a main code calling other executables. I need exe A to finish running before i start exe B, since exe B requires an output file (x) from A to be produced. How do i delay running B till A has completed and produced x?
I use call system (.....) to run these executables.
i cant check for the existence of the file x, because it always exists as i use the program many times so previous file x will just be used. I need to make sure that the system has run A and produced a new x before i run B.
Help!
Saqib
I have a main code calling other executables. I need exe A to finish running before i start exe B, since exe B requires an output file (x) from A to be produced. How do i delay running B till A has completed and produced x?
I use call system (.....) to run these executables.
i cant check for the existence of the file x, because it always exists as i use the program many times so previous file x will just be used. I need to make sure that the system has run A and produced a new x before i run B.
Help!
Saqib