Welcome! Log In Create A New Profile

Advanced

exerunning not working?

Posted by Frans 
Frans
exerunning not working?
May 23, 2009 10:22PM
Hello to you all,

I want to start an executable from within Windev and Windev should wait until this program is finished.

exerun(("c:\ProgramDir\SETUPV501.exe",exeMaximize,exeWait))
starts the SETUPV501.exe but my Windev program goes on and the exeWait parameter says that it Windev should wait.

Because this doesn't work I try a:

wait(300)
Info(ExeRunning("c:\ProgramDir\SETUPV501.exe"))
This gives a 0 (zero). So it says that no SETUPV501.exe is running. And it is up and running.

Did I overlook something?

Regards and thanks in advance,

Frans
Frans
Found it : exerunning not working?
May 24, 2009 09:58PM
Hello to you all,

I found the answer.
With exerun I started a second program but it was not the called exe that was running!
The exe started another exe. I had to test for this exe.
So exerun with exeWait couldn't work. I had to test with ExeRUnning for the second exe of the second program.
Now it works.

Regards,
Frans
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: