[Gambas-user] strange problem using UDP server clients

Doriano Blengino doriano.blengino at ...1909...
Fri Jan 30 20:27:18 CET 2009


Joshua Higgins ha scritto:
> hello all,
>
> at the moment in my program I have multiple commands that have to be run
> through SHELL in order, one after another. currently im doing this using
> WAIT, but this stops the execution of my gambas program till the command is
> finished. however my program is also doing other tasks (timers etc) which
> also stop.
>
> is there any way to wait for a command launched through SHELL to finish
> without using WAIT, but so that it still continue executing my gambas
> program?
>   
You must use a process handle (if I well remember, "hProc = SHELL ...", 
without using WAIT).
Then, you can poll hProc properties.
See the docs about SHELL. More infos if you need them.

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."





More information about the User mailing list