Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 490 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 490 Bytes

AsyncTask

Example usage:

[AsyncTask launchPath:@"/sbin/ping" currentDirectoryPath:nil arguments:@[@"github.com"] outputBlock:^(NSString *outString) {
    NSLog(@"OUT:%@",outString);
} errBlock:^(NSString *errString) {
    NSLog(@"ERR:%@",errString);
} onLaunch:^{
    NSLog(@"Launch");
} onExit:^{
    NSLog(@"Exit");
}];

Screenshot AsyncTask

License

View the LICENSE file for more info.