in reply to Modifying ENV variable of parent process

You can only fake such a change, which is one of the reasons why people seldom ever bother to do that. The usual (and IMO sensible) way to handle this type of situation is to write a simple wrapper in your favorite language around the applications which correctly specifies the environment that they need in order to run properly.
  • Comment on Re: Modifying ENV variable of parent process