• 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: Understanding NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding NSTask


  • Subject: Re: Understanding NSTask
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 09 Apr 2013 09:43:44 +0200

On 08.04.2013, at 13:59, Rui Henriques Pacheco <email@hidden> wrote:
> I'm currently going through all available literature on Google on using NSTask to open SSH tunnels. While I have running code I'm not sure I understand everything that's happening.
>
> First, NSTask executes SSH as a subprocess. Then why is this blocking the main thread?

 *shakes magic 8-ball* Outlook Hazy

 (I.e. post some code -- likely you're doing something synchronous that should be asynchronous, like waiting for output or writing input)

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Understanding NSTask (From: Rui Henriques Pacheco <email@hidden>)

  • Prev by Date: Correct way to implement a "Share" toolbar item
  • Next by Date: Re: Understanding NSTask
  • Previous by thread: Re: Understanding NSTask
  • Next by thread: Build Succeeded, but Xcode shows errors.
  • Index(es):
    • Date
    • Thread