It seems to me that the Runtime.exec() approach is not guaranteed to find the actual value of the environment variable, only some "default" value of that variable. Jruby could have been launched in a shell with modified environment variables.
Just a thought. Maybe its a footnote in the doc. Neil > Message: 2 > Date: Sat, 4 Feb 2006 09:35:25 -0600 > From: Charles O Nutter <[EMAIL PROTECTED]> > To: [email protected] > Subject: Re: [Jruby-devel] Suggestion for an ENV implementation > Reply-To: [email protected] > > I agree with the reflective bit; Tom and I discussed this yesterday as > an ugly but warranted solution for 1.5ers who have access to the new > getenv stuff. > > I also agree that system property namespace and ENV namespace should > be kept separate. > > Tom's reply covered the rest of our discussion. > > - Charlie ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
