public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
@ 2006-09-20 16:28 mtrudel at gmx dot ch
2006-09-20 16:32 ` [Bug java/29151] " mtrudel at gmx dot ch
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: mtrudel at gmx dot ch @ 2006-09-20 16:28 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug java/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
@ 2006-09-20 16:32 ` mtrudel at gmx dot ch
2006-09-20 16:33 ` mtrudel at gmx dot ch
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mtrudel at gmx dot ch @ 2006-09-20 16:32 UTC (permalink / raw)
To: java-prs
------- Comment #1 from mtrudel at gmx dot ch 2006-09-20 16:32 -------
Created an attachment (id=12300)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12300&action=view)
Program that uses Runtime.exec(...)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug java/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
2006-09-20 16:32 ` [Bug java/29151] " mtrudel at gmx dot ch
@ 2006-09-20 16:33 ` mtrudel at gmx dot ch
2006-11-18 2:34 ` [Bug libgcj/29151] " membar at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mtrudel at gmx dot ch @ 2006-09-20 16:33 UTC (permalink / raw)
To: java-prs
------- Comment #2 from mtrudel at gmx dot ch 2006-09-20 16:33 -------
Created an attachment (id=12301)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12301&action=view)
Program that gets called by Runtime.exec(...) and doesn't have the environment
set
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
2006-09-20 16:32 ` [Bug java/29151] " mtrudel at gmx dot ch
2006-09-20 16:33 ` mtrudel at gmx dot ch
@ 2006-11-18 2:34 ` membar at gcc dot gnu dot org
2006-11-26 19:53 ` membar at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: membar at gcc dot gnu dot org @ 2006-11-18 2:34 UTC (permalink / raw)
To: java-prs
--
membar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |membar at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Component|java |libgcj
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-18 02:34:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
` (2 preceding siblings ...)
2006-11-18 2:34 ` [Bug libgcj/29151] " membar at gcc dot gnu dot org
@ 2006-11-26 19:53 ` membar at gcc dot gnu dot org
2007-01-20 10:16 ` mtrudel at gmx dot ch
2007-01-21 1:34 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: membar at gcc dot gnu dot org @ 2006-11-26 19:53 UTC (permalink / raw)
To: java-prs
------- Comment #3 from membar at gcc dot gnu dot org 2006-11-26 19:53 -------
Subject: Bug 29151
Author: membar
Date: Sun Nov 26 19:53:11 2006
New Revision: 119230
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119230
Log:
PR libgcj/29151:
* java/lang/natWin32Process.cc (startProcess): Unconditionally
create a UNICODE environment for CreateProcess call.
Modified:
branches/gcc-4_2-branch/libjava/ChangeLog
branches/gcc-4_2-branch/libjava/java/lang/natWin32Process.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
` (3 preceding siblings ...)
2006-11-26 19:53 ` membar at gcc dot gnu dot org
@ 2007-01-20 10:16 ` mtrudel at gmx dot ch
2007-01-21 1:34 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: mtrudel at gmx dot ch @ 2007-01-20 10:16 UTC (permalink / raw)
To: java-prs
------- Comment #4 from mtrudel at gmx dot ch 2007-01-20 10:16 -------
I thought this was already closed?
Well, Mohan fixed it. It is in the 4.2 branch and in the 4.3 mainline
(trunk)...
Thank you Mohan!
--
mtrudel at gmx dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/29151] [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
` (4 preceding siblings ...)
2007-01-20 10:16 ` mtrudel at gmx dot ch
@ 2007-01-21 1:34 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-21 1:34 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29151
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-01-21 1:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-20 16:28 [Bug java/29151] New: [win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work mtrudel at gmx dot ch
2006-09-20 16:32 ` [Bug java/29151] " mtrudel at gmx dot ch
2006-09-20 16:33 ` mtrudel at gmx dot ch
2006-11-18 2:34 ` [Bug libgcj/29151] " membar at gcc dot gnu dot org
2006-11-26 19:53 ` membar at gcc dot gnu dot org
2007-01-20 10:16 ` mtrudel at gmx dot ch
2007-01-21 1:34 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).