set_system_doevents

Definition: set_system_doevents(integer rid, object params)
Description: Declare a routine to be periodically invoked while a system_exec() is in progress.
Comments: When used correctly this can prevent an application from becoming non-responsive while waiting for some other application to finish.

Note this routine has no known equivalent on RDS Eu or OpenEuphoria.
Example:
include arwen.ew -- (for doEvents(0))
    set_system_doevents(routine_id("doEvents"),{0})
...
    exit_code = system_exec(cmd)
See Also: system_exec