This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: problems with exec("rundll32.exe shell32.dll...")
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <java at gcc dot gnu dot org>
- Date: Tue, 20 May 2003 14:12:28 +0200
- Subject: Re: problems with exec("rundll32.exe shell32.dll...")
I just ran into some Runtime.exec() problems as well.
See PR 10880 that I reported.
There is something funny going on with '\'s.
My kludge was to search & replace a single backslash with two
backslashes in the argument to Runtime.exec().
This kludge takes advantage of that Windows interprets
c:\temp and c:\\temp as the same path in certain cases, so
my code now works with JRE and GCJ.
Øyvind