Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to stop returning froma Run command
I have a FPW 2.6 app and in one place it calls a VFP simple app which sends data down a serial port to an external device.
In my FPW 2.6 app it does a: RUN /N MYVFP.EXE
Control is returned immediately to my FPW app, whereas MYVFP.exe can take a few seconds to run, and I only want to return to the calling App when my called App has finished. I tried putting a time delay in but this was not 100% satifactory as I am not quite sure how long the app will run for .. 3 seconds or 5 seconds or 7 seconds ......
Is there any way of not returning to the calling APP until the called App has finished ?
Regards,
Gerard
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement