On Fri, Oct 16, 2009 at 04:21, Michael McMahon <[email protected]> wrote: > Damjan Jovanovic wrote:
> "environment variables which are not modified by Java code will have > an unmodified native representation in the subprocess." The intent of that statement is to promise not to mangle environment variables that cannot be represented as a String, perhaps because they contain undecodable binary data. IIRC, bash doesn't get this right. > > I wonder if it might make sense to change this, so that some kind > of default filtering could be applied? I don't know if it warrants a new API > to do this, but maybe a system property could define a list of environment > variables that are not passed to child processes. And this could be used > in the desktop launcher scripts. I continue to resist the addition of such a global mechanism. Martin
