mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 05:50:54 +00:00
Open url in new window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4788 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
178e4956bd
commit
b7c482b7d9
1 changed files with 4 additions and 3 deletions
|
@ -77,9 +77,10 @@
|
|||
|
||||
path = @"/bin/sh";
|
||||
args = [NSArray arrayWithObjects:
|
||||
@"-c",
|
||||
[NSString stringWithFormat: @"netscape -remote \"openURL (%@)\"", url],
|
||||
nil];
|
||||
@"-c",
|
||||
[NSString stringWithFormat:
|
||||
@"netscape -noraise -remote \"openURL(%@,new-window)\"", url],
|
||||
nil];
|
||||
|
||||
task = [NSTask launchedTaskWithLaunchPath: path
|
||||
arguments: args];
|
||||
|
|
Loading…
Reference in a new issue