RE: Calling a Command line tool from an application
RE: Calling a Command line tool from an application
- Subject: RE: Calling a Command line tool from an application
- From: David Hoerl <email@hidden>
- Date: Wed, 13 Apr 2005 12:03:05 -0500
On Apr 11, 2005, at 14:17, Rick Steele wrote:
Can anybody point me to docs which explain calling a command line tool
from an application an providing it argumetns?
You used the word "application" - is this a GUI based app?
If you are using Cocoa or even just Obj-C you can use the Foundation
classes NSProcessInfo and NSTask. These handle some of the details of
fork/exec for you.
You may want to also look at NSPipe and NSFileHandle too.
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden