Revision 9652 trunk/libraries/libIverUtiles/src/com/iver/utiles/BrowserControl.java
BrowserControl.java | ||
---|---|---|
133 | 133 |
// check for an exit value. If the exit command is 0, |
134 | 134 |
// it worked, otherwise we need to start the browser. |
135 | 135 |
// cmd = 'netscape -remote openURL(http://www.javaworld.com)' |
136 |
cmd = browserCommand + " -remote openURL(" + url + ")"; |
|
136 |
cmd = browserCommand.toLowerCase() + " -remote openURL(" + url + ")";
|
|
137 | 137 |
Process p = Runtime.getRuntime().exec(cmd); |
138 | 138 |
try |
139 | 139 |
{ |
... | ... | |
144 | 144 |
{ |
145 | 145 |
// Command failed, start up the browser |
146 | 146 |
// cmd = 'netscape http://www.javaworld.com' |
147 |
cmd = browserCommand + " " + url; |
|
147 |
cmd = browserCommand.toLowerCase() + " " + url;
|
|
148 | 148 |
p = Runtime.getRuntime().exec(cmd); |
149 | 149 |
} |
150 | 150 |
} |
Also available in: Unified diff