{"action":"opened","issue":{"url":"https://api.github.com/repos/diydrones/dronekit-python/issues/159","labels_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/159/comments","events_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/159/events","html_url":"https://github.com/diydrones/dronekit-python/issues/159","id":87618844,"number":159,"title":"Best way to exit a script if you get into trouble?","user":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diydrones/dronekit-python/labels/[docs]%20question","name":"[docs] question","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-12T05:55:52Z","updated_at":"2015-06-12T05:55:52Z","closed_at":null,"body":"If my battery goes low, or if a failsafe occurs, then it is likely the vehicle will RTL. In this case my script may well still be running. What is the best method to call to exit it/how can I exit it to MAVProxy without killing mavproxy?"}}