WAITRUN() doesn't wait

Post Reply
User avatar
Enrico Maria Giordano
Posts: 8767
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 5 times
Contact:

WAITRUN() doesn't wait

Post by Enrico Maria Giordano »

The END message pops up while the calculator is still active. Any ideas?

Code: Select all | Expand

#include "Fivewin.ch"


FUNCTION MAIN()

    WAITRUN( "calc.exe" )

    ? "END"

    RETURN NIL


EMG
User avatar
Antonio Linares
Site Admin
Posts: 42597
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 40 times
Been thanked: 86 times
Contact:

Re: WAITRUN() doesn't wait

Post by Antonio Linares »

Dear Enrico,

If you replace calc.exe with notepad exe then it works as expected

Why ? No idea...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply