Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anything besides Run
Message
From
16/10/2001 03:21:26
 
 
To
15/10/2001 19:25:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568844
Message ID:
00568882
Views:
23
Steven,
If you want to launch a process and wait until that process terminates, use the method launchAppAndWait()
Try something like this:
oProcess = NEWOBJECT("RunApp", "process", "", "D:\ccdraft\bin\ccplot.exe -rk tempjan.bat","D:\ccdraft\bin\","HID")
oProcess.launchAppAndWait()
HTH
>Is there any way to get this code to keep from displaying the dos window and still wait until process is complete?
>Run /2 D:\ccdraft\bin\ccplot.exe -rk tempjan.bat
>
>I have tried the api_apprun but I still can't get the process to finish before my rename command kicks in.
>
>Thanks
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform