mirror of
https://github.com/ksherlock/ample.git
synced 2024-11-19 02:11:08 +00:00
10.13+ launch wasn't.
This commit is contained in:
parent
7b67522156
commit
5ffc85f9fc
@ -86,6 +86,13 @@ static NSMutableSet *LogWindows;
|
||||
}
|
||||
}
|
||||
|
||||
-(void)appendAttributedString: (NSAttributedString *)string {
|
||||
|
||||
if ([string length]) {
|
||||
[[_textView textStorage] appendAttributedString: string];
|
||||
}
|
||||
}
|
||||
|
||||
-(NSError *)runTask: (NSTask *)task {
|
||||
|
||||
|
||||
@ -109,8 +116,8 @@ static NSMutableSet *LogWindows;
|
||||
[task launchAndReturnError: &error];
|
||||
if (error) {
|
||||
NSLog(@"NSTask error. Path = %s error = %@", path, error);
|
||||
return error;
|
||||
}
|
||||
return error;
|
||||
} else {
|
||||
path = [[task launchPath] fileSystemRepresentation];
|
||||
wd = [[task currentDirectoryPath] fileSystemRepresentation];
|
||||
|
Loading…
Reference in New Issue
Block a user