Skip to content

Instantly share code, notes, and snippets.

@raganmd
Last active March 30, 2018 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raganmd/445a9645a49a23ffda31704cd59a692c to your computer and use it in GitHub Desktop.
Save raganmd/445a9645a49a23ffda31704cd59a692c to your computer and use it in GitHub Desktop.
# matthew ragan | matthewragan.com
# first we need to grab our stored details
other_app = parent().fetch('other_app')
# next we can kill the process
other_app['app_process'].kill()
# finally we'll unstore everything so we don't
# see any errors when we save
parent().unstore("*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment