Re: UI refresh in background thread while [NSTask waitUntilExit]

2011-04-26 Thread Ken Thomases
On Apr 26, 2011, at 2:55 AM, Vera Tkachenko wrote: > In my app I need to determine if some app if properly codesigned. To do this > I just invoke "/usr/bin/codesign" and analyse return value. To invoke it I > use NSTask and launch it in background thread. Everything works fine excepts > strange

UI refresh in background thread while [NSTask waitUntilExit]

2011-04-26 Thread Vera Tkachenko
Hello, In my app I need to determine if some app if properly codesigned. To do this I just invoke "/usr/bin/codesign" and analyse return value. To invoke it I use NSTask and launch it in background thread. Everything works fine excepts strange crash I get sometimes from our customers. While NST