> On Aug 15, 2016, at 7:26 PM, Andrew Keller <and...@kellerfarm.com> wrote:
> 
> 1. If the main Plot app is _not_ running in the current Aqua session, then 
> launch a new copy in the current Aqua session.
> 2. Open some sort of a socket to the main Plot app in the current Aqua 
> session.
> 3. Accept numbers on stdin, and forward them through the socket to the main 
> Plot app.
> 4. When stdin is exhausted, exit.

AppleEvents is the right tool for this. Just pack the numbers into an array in 
an AEDesc, and send it in a custom AppleEvent to your app.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to