Re: Running processes
Re: Running processes
- Subject: Re: Running processes
- From: Development <email@hidden>
- Date: Mon, 11 Sep 2006 07:42:35 -0700
Thanks for the reply.
NSTask just isn't working, thats the problem. I'm listening for
notifications on the pipes to read the output from the clu and what I
am getting is missing beginning and ending characters and if it has
more than one word, about half the time the other words in the output
are simply lost. That's why I am really hoping there is a primitive
out there I can use instead of NSTask.
Thanks
On Sep 9, 2006, at 8:04 AM, Wain wrote:
You could read through this thread from a couple of weeks ago:
http://www.cocoabuilder.com/archive/message/cocoa/2006/9/5/170680
or look at the CocoaDevCentral article on wrapping unix commands:
http://cocoadevcentral.com/articles/000025.php
Wain
On 9 Sep 2006, at 15:55, Development wrote:
I know that I can use us the foundation framework to run a command
line utility. The problem is that about half of the output from
one of the utilities I need to run is lost. It just never reaches
the main application. However in another program I use the
security framework to run a command line utility and I use a FILE
pointer to retrieve the data from stdout and it works perfectly.
So I am wondering is there a way to run a command line utility
where I use a FILE pointer to retrieve the output that is similar
to the security framework without actually using that framework? I
looked at the primitive system() command but that does not accept
a FILE pointer.
Thanks for any help.
_______________________________________________
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