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

Re: NSTask output and input


  • Subject: Re: NSTask output and input
  • From: John Stiles <email@hidden>
  • Date: Tue, 18 Jan 2005 14:25:34 -0800

If you are opening a GUI-based application, don't use NSTask to start it. Use NSWorkspace's launchApplication.
For interprocess communication, look into "distributed objects."



On Jan 18, 2005, at 2:20 PM, Mai Bui wrote:

Hi all,

I have one application using NSTask to call another my application, now I want this application also:
1. Printout on the NSTextView window the display strings from the other my app(use printf) in real time not wait for to the end of the called app. (because my app run in loop)
2. Get input from the user and send to my app because my app need to get input from user to stop (i.e: "s" character).


How can I do it?
thanks in advance.
Mai.

_______________________________________________
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

_______________________________________________ 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: 
 >NSTask output and input (From: Mai Bui <email@hidden>)

  • Prev by Date: NSTask output and input
  • Next by Date: Re: Best way to convert audio to other formats?
  • Previous by thread: NSTask output and input
  • Next by thread: Re: NSTask output and input
  • Index(es):
    • Date
    • Thread