Kills a running app by its process ID.

app.KillApp( pid )

You can retreive a list of all running apps with their pids using the GetRunningApps function of the app object.

Example - Demo click to expand contents