Forum Thread: Kill Current Process (Python)

So in python I have this one line

self.setup.oslinuxcall("airodump-ng {}".format(adapter))

This runs airodump on said adapter. My question is how do I make it so I could just exit airodump instead of the whole script like ctrl+c would do.

Thank you in advance.

Join the Next Reality AR Community

Get the latest in AR — delivered straight to your inbox.

2 Responses

Use this:
(Run airodump)
except KeyboardInterrupt:

Ah yes this worked. Thank you for the help!

Share Your Thoughts

  • Hot
  • Active