Page 1 of 1

WAITRUN() doesn't wait

Posted: Sun Jul 17, 2022 12:57 pm
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

Re: WAITRUN() doesn't wait

Posted: Sun Jul 17, 2022 4:11 pm
by Antonio Linares
Dear Enrico,

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

Why ? No idea...

Re: WAITRUN() doesn't wait

Posted: Sun Jul 17, 2022 4:14 pm
by Enrico Maria Giordano
Ok, thank you.

EMG