I'd like to test (inside a python 3 program) whether the VPN is
running or not.  The only thing I can think of so far is to use
subprocess to run the 'ifconfig' command, then check its output for
'tun0'.  Is there a better way?

Thanks.


-- 
Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla 
pendere, et cum illi pueri dicerent: beable beable beable; respondebat 
illa: doidy doidy doidy.                                 --- plorkwort
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to