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

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
References: 
 >Client ssh (From: Valerio Ferrucci <email@hidden>)
 >Re: Client ssh (From: Dominic Blais <email@hidden>)
 >Re: Client ssh (From: "Shawn Erickson" <email@hidden>)
 >Re: Client ssh (From: Dominic Blais <email@hidden>)
 >Re: Client ssh (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Creating/Populating Windows programatically
  • Next by Date: Re: Changing from Java to OBJ-C
  • Previous by thread: Re: Client ssh
  • Next by thread: Use of weak reference in non-circular reference situation
  • Index(es):
    • Date
    • Thread