Re: Relying on shell tools to be installed? Where do you find this out?
Re: Relying on shell tools to be installed? Where do you find this out?
- Subject: Re: Relying on shell tools to be installed? Where do you find this out?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 23 Jun 2005 09:16:47 -0700
Use NSTask rather than system() to avoid these issues. It will do the fork/exec mentioned in that post.
Note that some of the command-line tools you might be interested in are open source, or have open-source equivalents; in some cases it might be appropriate to include a version (possibly a stripped-down special-purpose version) of the tool you are interested in inside your application's bundle, to make certain that exactly what you want will definitely be available on both past and future systems.
Douglas Davidson
|
_______________________________________________
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