When I run the following in Python 3.2.3 in Linux it does nothing...
subprocess.call("export TZ=Australia/Adelaide", shell=True)
However if I run it in the terminal it works...
export TZ=Australia/Adelaide
I haven't had an issue with using subprocess.call before. Just seems to be this one. I'm running as a superuser so it's not a sudo thing, and I've also tried putting an r in front of the string to make it a raw string.
Any ideas? Thanks.