Re: [long] Re: Running processes
Re: [long] Re: Running processes
- Subject: Re: [long] Re: Running processes
- From: Nir Soffer <email@hidden>
- Date: Wed, 13 Sep 2006 02:16:40 +0300
On Sep 12, 2006, at 6:51 PM, Development wrote:
outputString = [NSString stringWithCString:[data bytes]
length:[data length]];
[self appendStringToConsole:outputString];
Are you sure you get only plain ASCII from the app? I would use
initWithData:encoding: here
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(taskCompleted:)
name:NSTaskDidTerminateNotification object:unrar];
[task waitUntilExit];
Who is "unrar"? It seems that it should be "task"
Finally, do you read the rest of the output in taskCompleted: ?
Best Regards,
Nir Soffer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden