For some strange reason when i run a python script with:
subprocess.Popen(["nohup", "openvpn --config '/usr/local/etc/openvpn/pia_openvpn/AU Melbourne.ovpn'"])
I get
nohup: failed to run command ‘openvpn --config '/usr/local/etc/openvpn/pia_openvpn/AU Melbourne.ovpn'’: No such file or directory
I can run openvpn --config "/usr/local/etc/openvpn/pia_openvpn/AU Melbourne.ovpn"
with no errors. I've also tried running other commands and get the exact same error.