Perhaps another approach would be to exec a new shell with the environment you want?
In reply to Re: Changing parent process environment variable
by gamache
in thread Changing parent process environment variable
by tcf22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |