Re: Understanding NSTask
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