Re: what are the scenarios for an app to be terminated?

2010-10-07 Thread appledev
Hi, You can also check this forum for SIGKILL, SIGSTOP, Acitivity Monitor who kill the task in two ways, or the kill terminal command. HTH___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

NSTask and piped commands

2010-05-18 Thread appledev
I have to run the following and similar commands using NSTask. df -k | grep /dev/ |awk '{print $1 \t $4 \t $5 \t $6;}' I got so far. NSTask *task; task = [[NSTask alloc] init]; [task setLaunchPath: @/bin/sh]; NSArray *arguments; arguments = [NSArray

Re: Figuring out what's causing redrawing

2010-05-15 Thread appledev
Hi I did have one time something similar with an app where lots of views where recalculated when resizing the window. Using Quarts debug I noticed that some views did overlap each other during and after resizing a window and cause redrawing. Then I did the same as the suggestion above to show