Process.spawn and environment

Hi all,

I’m invoking Open.popen2 and passing an environment hash as the first
parameter. Even if the hash is empty I get:

ruby/1.9.2/lib/ruby/1.9.1/open3.rb:202: warning: failed to set
environment variable. Ruby 1.9.3 will raise SystemCallError in this
case.

This appears to happen on Windows XP but not on Windows 7. Anyone seen
this before?

Cheers,
James

ruby/1.9.2/lib/ruby/1.9.1/open3.rb:202: warning: failed to set
environment variable. Ruby 1.9.3 will raise SystemCallError in this
case.

Maybe ask ruby core on this one? I think I saw it mentioned sometime
recently.
-r