See Get default login environment and its replies. Basically, you will have to append a command to output the effective environment of the child and read that output back in in the parent.
In reply to Re: Environment setting using shell
by Corion
in thread Environment setting using shell
by LovePerling
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |