NSTask reimplementation a simpler interface
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Testing
.gitignore
README.markdown
Taskit.h
Taskit.m

README.markdown

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.