WAITRUN() doesn't wait

WAITRUN() doesn't wait

Postby Enrico Maria Giordano » Sun Jul 17, 2022 12:57 pm

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

Code: Select all  Expand view  RUN
#include "Fivewin.ch"


FUNCTION MAIN()

    WAITRUN( "calc.exe" )

    ? "END"

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: WAITRUN() doesn't wait

Postby Antonio Linares » Sun Jul 17, 2022 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42121
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain



Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares and 43 guests