Re: access violation after using NSTask

2010-01-01 Thread James W. Walker
On Jan 1, 2010, at 6:04 PM, Ken Thomases wrote: > Try turning off "Auto-attach debugger on crash" in the executable's settings > (the "executable" in the sense of Xcode's representation of your app's > executable, in its project). > > I believe that Xcode may actually be attaching to the child

Re: access violation after using NSTask

2010-01-01 Thread Ken Thomases
On Jan 1, 2010, at 6:43 PM, James W. Walker wrote: > I understand that one advantage of using a task rather than a thread is a > task can crash without taking down the main app. I decided to try that. I > made a little command-line program that deliberately crashes by infinite > recursion, an

access violation after using NSTask

2010-01-01 Thread James W. Walker
I understand that one advantage of using a task rather than a thread is a task can crash without taking down the main app. I decided to try that. I made a little command-line program that deliberately crashes by infinite recursion, and a Cocoa app that runs it using NSTask. The problem is tha