We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb5ff4 commit 6c87901Copy full SHA for 6c87901
uis/src/com/biglybt/ui/swt/utils/SearchSubsUtils.java
@@ -305,9 +305,8 @@ private static void launchURL(String s) {
305
Field field = Program.class.getDeclaredField("command");
306
field.setAccessible(true);
307
String command = (String) field.get(program);
308
- command = command.replaceAll("%[1lL]", Matcher.quoteReplacement(s));
309
- command = command.replace(" --", "");
310
- PluginInitializer.getDefaultInterface().getUtilities().createProcess(command + " -incognito");
+ command = command.replaceAll("%[1lL]", Matcher.quoteReplacement("--incognito "+s));
+ PluginInitializer.getDefaultInterface().getUtilities().createProcess( command );
311
} catch (Exception e1) {
312
e1.printStackTrace();
313
Utils.launch(s);
0 commit comments