I'm working on an App to execute rsync in background. The copying process works fine, now I want to output the progress of the download!
NSPipe *pipe = [[NSPipe alloc] init]; [task setStandardOutput:pipe]; [task setStandardError:pipe]; [task setStandardInput:[NSPipe NSFileHandle *readHandle = [[task standardOutput] [task launch]; NSData *readData=nil; readData = [readHandle readDataToEndOfFile]; NSString *readString = [[NSString alloc] initWithData:readData encoding:NSASCIIStringEncoding]; NSLog(@"%@", readString); There was a tutorial located at this url: http://developer.apple.com/samplecode/Sample_Code/Cocoa/Moriarity.htm But I can not find it anymore. Does anybody knows where it is located now. Yours ra _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com