Re: Run application from code
Re: Run application from code
- Subject: Re: Run application from code
- From: Ricky Sharp <email@hidden>
- Date: Wed, 11 Jan 2006 17:14:05 -0600
On Jan 11, 2006, at 5:05 PM, Adam Johnson wrote:
How would I go about launching an application (uuidgen) and
grabbing its output from ObjC?
Check out NSTask. You can then use the task's setStandardOutput: to
route output to either a file (NSFileHandle) or pipe (NSPipe).
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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