http://qs321.pair.com?node_id=658261


in reply to Changing parent process environment variable

I don't know that it is possible to change the parent shell's environment variables. Why are you trying to do this?

Perhaps another approach would be to exec a new shell with the environment you want?

Replies are listed 'Best First'.
Re^2: Changing parent process environment variable
by tcf22 (Priest) on Dec 20, 2007 at 21:14 UTC
    I'm not quite sure of the usefulness, but our IT department wants this for some sort of maintenance script. They say they have a compiled app that does it, but want to add more features than this app supports, so that is why I'm trying to do it.

    - Tom