This example illustrates how to pause for approximately 5 seconds, providing enough time for FLY! to start up.
local int PID, int Success
PID = RunTask("fly", "", "", Null)
call Sleep(5)
Success = KillTask( PID )
Print "Task killed? ", Success
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.