Not sure how your code looks like but a common problem is that the stdout and stderr buffer can run full if not done correctly.
Old code but something along the lines of this here should work https://github.com/tcurdt/uif2iso4mac/blob/master/Sources/TaskCommand.m cheers, Torsten On Mon, Apr 8, 2013 at 1:59 PM, Rui Henriques Pacheco <[email protected]> wrote: > Hi, > > 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? > > -- > Rui Henriques Pacheco > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/tcurdt%40vafer.org > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
