rubymaio.blogg.se

Protonvpn username and password free 2020
Protonvpn username and password free 2020





Finally I used xdotool with subprocess and it worked. Then I used communicate method but it didn't work either. I finally succeeded to solve the problem! I first tried subprocess and used sys.executable, stdout, stdin, popen and so on, but they didn't work. thank you very much for time you spend in this question.

protonvpn username and password free 2020

My purpose is to do the whole process inside a python file, and when I run the python file, the whole process works automatically.

protonvpn username and password free 2020

In manual way to connect to the VPN, I should first type in terimnal: sudo openvpn *., then enter, then type my ID, then enter, then my password and again enter, and I will be connected. Using this code : n(, shell=True) doesn't help, because It doesn't run until the ID and password has been typed inside the vpn (through terminal). I did everything to use subprocess module of python to run a VPN from Protonvpn in ubuntu 20.04 but unfortunately I failed! Actually I could run the VPN through (n()) but the VPN needs ID and password inside itself to make me connected(manually should be typed inside the terminal), I did everything to to give those ID and passwords to the vpn, but I failed! I don't know how can I write my Id and password inside the VPN after running the VPN by the code I mentioned above.







Protonvpn username and password free 2020