• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: debug a forked PTY process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug a forked PTY process


  • Subject: Re: debug a forked PTY process
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 8 Mar 2010 13:29:57 -0600

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

  • Follow-Ups:
    • Re: debug a forked PTY process
      • From: Nadav Tenenbaum <email@hidden>
References: 
 >debug a forked PTY process (From: Nadav Tenenbaum <email@hidden>)
 >Re: debug a forked PTY process (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: debug a forked PTY process
  • Next by Date: Re: debug a forked PTY process
  • Previous by thread: Re: debug a forked PTY process
  • Next by thread: Re: debug a forked PTY process
  • Index(es):
    • Date
    • Thread