Runtime.exec(String[] cmdarray, String[] envp) doesn't set the environment on
windows but it works on linux.
This can be reproduced with the attached files (both compiled to executables
and CreateEnv calling PrintEnv).
--
Summary: [win32] Runtime.exec(String[] cmdarray, String[] envp) -
> envp doesn't work
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mtrudel at gmx dot ch
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151