This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]