Re: debug a forked PTY process
Re: debug a forked PTY process
- Subject: Re: debug a forked PTY process
- From: Nadav Tenenbaum <email@hidden>
- Date: Mon, 8 Mar 2010 21:58:28 +0200
Alright then, thank you all for taking your time for that.
I guess it's not a good idea for me to write a class like that, because I know Objective C for only 2 weeks (I do have experience with other programming languages)
there is an other class that does the same thing as part of the
iTerm project, so I guess I will use that one, the only problem is that it is undocumented, but I'll manage
On Mon, Mar 8, 2010 at 21:29, Fritz Anderson
<email@hidden> wrote:
On 8 Mar 2010, at 10:29 AM, Ken Thomases wrote:
> In other words, it has never been safe to do very much after a fork(). If that's what PTYTask is doing, then it's buggy.
In fact, it does some NSString parsing and NSArray iteration before the execve. So the code is wrong. My only defense is that it was written nearly seven years ago, four years before that release note was written. It worked in the context of the application that used it, on a machine running 10.2. There were no related bug reports. It's been unsupported for five years. Probably it wouldn't run now.
It should have been better. I'll take it down.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden