Sed working from the command line but not within a python script

后端 未结 0 1710
旧时难觅i
旧时难觅i 2021-01-29 07:39

I\'m trying to run the following command in a Python script:

sudo sed -i \'s/auth-user-pass/auth-user-pass \\/etc\\/openvpn\\/credentials/g\' /etc/openvpn/US-East         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题