execute file with minimize and wait properties

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
mlnr
Posts: 74
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary

execute file with minimize and wait properties

Post by mlnr » Thu May 17, 2018 10:53 am

Hello,

I would like to start an external program. Minimize when run the program and wait until it's close automatically.
I didn't find perfect solutions.

Any help would be appreciated.
Best regards,
Gabor

mlnr
Posts: 74
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary

Re: execute file with minimize and wait properties

Post by mlnr » Thu May 17, 2018 11:49 am

I found the solution: WAITRUN("test.exe",2)
Best regards,
Gabor

edk
Posts: 319
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: execute file with minimize and wait properties

Post by edk » Thu May 17, 2018 11:50 am

I was just about to write it to you. :)

mlnr
Posts: 74
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary

Re: execute file with minimize and wait properties

Post by mlnr » Thu May 17, 2018 12:05 pm

:)
Thanks anyway Edward
Best regards,
Gabor

Post Reply