mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:40:38 +00:00
Retain cached path of make_services tool in NSWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27817 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
34ca8b7b93
commit
b295fc79eb
2 changed files with 6 additions and 1 deletions
|
@ -1274,7 +1274,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
*/
|
||||
if (path == nil)
|
||||
{
|
||||
path = [NSTask launchPathForTool: @"make_services"];
|
||||
path = [[NSTask launchPathForTool: @"make_services"] retain];
|
||||
}
|
||||
task = [NSTask launchedTaskWithLaunchPath: path
|
||||
arguments: nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue