Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 453 Bytes

README.markdown

File metadata and controls

18 lines (13 loc) · 453 Bytes

Taskit — Simpler NSTask

Taskit is a reimplementation of NSTask with a simplified and block-ready interface.

    Taskit *task = [Taskit task];
    task.launchPath = @"/bin/echo";
    [task.arguments addObject:@"Hello World"];
    task.receivedOutputString = ^void(NSString *output) {
        NSLog(@"%@", output);
    };
    
    [task launch];

License

Taskit is licensed under the WTFPL.