Re: Client ssh
Re: Client ssh
- Subject: Re: Client ssh
- From: Dominic Blais <email@hidden>
- Date: Wed, 31 May 2006 10:32:43 -0700
On May 31, 2006, at 10:27 AM, Shawn Erickson wrote:
On 5/31/06, Dominic Blais <email@hidden> wrote:
NSTask can have the pipes redirected (similarly to popen) and that
could
cause the dead lock you're describing, but the default case
inherits the io
pipes of the task's parent. Did I miss something in the docs?
Which is likely what the OP need to do since he needs to communicate
with another endpoint, in other words he needs do IO with the task
(assuming he uses the NSTask route). It likely serves him no purpose
to have output from the launched task go to his applications standard
out.
Ah, I see what you mean. Good point. I was thinking of it more in
terms of just scripting server actions through ssh, but it's quite
possible the OP wants to read the output.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden