Peter Hosey committed caba1bc

Made this even better using one of the convenience methods.

Comments (0)

Files changed (1)

 From [[|the test program]]:
-        PRHTask *task = [[[PRHTask alloc] init] autorelease];
-        task.launchPath = @"/bin/echo";
-        task.arguments = [NSArray arrayWithObject:@"I am the very model of a modern Major-General"];
+	PRHTask *task = [PRHTask taskWithProgramName:@"echo" arguments:@"I am the very model of a modern Major-General", nil];
         task.accumulatesStandardOutput = YES;
         task.successfulTerminationBlock = ^(PRHTask *completedTask) {