FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WAITRUN() doesn't wait
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
WAITRUN() doesn't wait
Posted: Sun Jul 17, 2022 12:57 PM
The END message pops up while the calculator is still active. Any ideas?

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    WAITRUN( "calc.exe" )

    ? "END"

    RETURN NIL


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: WAITRUN() doesn't wait
Posted: Sun Jul 17, 2022 04:11 PM

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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: WAITRUN() doesn't wait
Posted: Sun Jul 17, 2022 04:14 PM

Ok, thank you.

EMG

Continue the discussion