aditya shukla wrote:
not if you run the script from the shell.
when a process starts, it gets a *copy* of the parent's environment. it
can modify that copy, but it cannot modify the variables in the parent.
</F>
Can i add any environment variable to bash from my python script? so
that when i use env command then i can see that environment variable.
that when i use env command then i can see that environment variable.
when a process starts, it gets a *copy* of the parent's environment. it
can modify that copy, but it cannot modify the variables in the parent.
</F>