File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ - (void)performTaskOnQueue:(dispatch_queue_t)queue terminationHandler:(void (^)(
116116
117117 PBTaskLog (@" task %p : exit != 0" , weakSelf);
118118
119- [(NSMutableData *)weakSelf.standardOutputData appendData: [[task.standardOutput fileHandleForReading ] readDataToEndOfFile ]];
120119 NSString *outputString = [[NSString alloc ] initWithData: weakSelf.standardOutputData encoding: NSUTF8StringEncoding];
121120 weakSelf.standardOutputData = nil ;
122121
@@ -189,7 +188,6 @@ - (void)performTaskOnQueue:(dispatch_queue_t)queue completionHandler:(void (^)(N
189188 @synchronized (self) {
190189 PBTaskLog (@" task %p : completed, removing read handler" , self);
191190 [self .task.standardOutput fileHandleForReading ].readabilityHandler = nil ;
192- [(NSMutableData *)self .standardOutputData appendData: [[self .task.standardOutput fileHandleForReading ] readDataToEndOfFile ]];
193191 }
194192
195193 completionHandler (self.standardOutputData , nil );
You can’t perform that action at this time.
0 commit comments