Wrapping Command Line Tools
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