I have a LINUX bash shell script that sets environment variables. I need to execute this script through Python. I've tried to use os.system and subprocess.call, but each time, the shell script seems to modify the environment variables in a subshell and exits.
How can I run a LINUX shell script through Python so that it modifies the current environment?
Thanks,
Kevin
How can I run a LINUX shell script through Python so that it modifies the current environment?
Thanks,
Kevin