• 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
Wrapping Command Line Tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrapping Command Line Tools


  • Subject: Wrapping Command Line Tools
  • From: Tommy Nordgren <email@hidden>
  • Date: Fri, 29 Jul 2005 14:14:08 +0200

I wonder about how I can wrap Unix Command Line Tools with Cocoa. I need to catch the standard err stream,
and redirect it to a window as well.
Note that I cant use the standard popen call for this reason, as well as for the reason that it is an insecure call
(I might need to run some tools as root)
What I want to do is the following call the tools with the standard IO streams redirected to windows in my app.
I need to use calls that launches the tool securely, bypassing the shell. Then I will need to redirect the streams
to panes in a window, after some filtering.
Thankful for any useful hints.


"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"

_______________________________________________
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


  • Follow-Ups:
    • Re: Wrapping Command Line Tools
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: New looks replacing Metal?
  • Next by Date: RE: NSTreeController ChildKeyPath
  • Previous by thread: Re: New looks replacing Metal?
  • Next by thread: Re: Wrapping Command Line Tools
  • Index(es):
    • Date
    • Thread