Bug 348732 - getGREPathWithProperties() fails if temp path has spaces. XULRunner only. Patch by Dominik, r=jhpedemonte.
Original committer: pedemont%us.ibm.com Original revision: 1.6 Original date: 2006/08/16 16:13:23 git-svn-id: svn://10.0.0.236/trunk@212489 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -295,8 +295,8 @@ public class Mozilla implements IGRE, IXPCOM, IXPCOMError {
|
||||
|
||||
Process proc;
|
||||
try {
|
||||
proc = Runtime.getRuntime().exec("regedit /e " + tempFile.getPath() +
|
||||
" \"" + aRegKey + "\"");
|
||||
proc = Runtime.getRuntime().exec("regedit /e " + "\"" + tempFile.getPath()
|
||||
+ "\" \"" + aRegKey + "\"");
|
||||
proc.waitFor();
|
||||
} catch (Exception e) {
|
||||
// Failed to run regedit.exe. Length of temp file is zero, and that's
|
||||
|
||||
Reference in New Issue
Block a user