Re: NSTask & curl
Re: NSTask & curl
- Subject: Re: NSTask & curl
- From: Wayne Packard <email@hidden>
- Date: Sat, 06 Jun 2009 15:45:00 -0700
On Jun 6, 2009, at 3:18 PM, Ammar Ibrahim <email@hidden>
wrote:
On Sun, Jun 7, 2009 at 1:09 AM, Bill Bumgarner <email@hidden> wrote:
On Jun 6, 2009, at 3:05 PM, Ammar Ibrahim wrote:
Thanks that fixed it! Although when you call it directly from the
command
line, it's fine to have the space there!
I'd argue that fixed a symptom, but not the problem.
As others have said, launching a task to execute curl is just about
as
wasteful and inefficient as you can get.
What others haven't mentioned is that it is also a potential
security hole
or source of confusion for your users. Namely, packing up command
lines and
then executing sub shells is rife with fragility and security issues.
I do agree, but I really need to use curl, and this is not a
product. It's
for a controlled environment. I will entirely replace curl later.
If you need curl functionality, you may want to consider using libcurl
instead of the command line app.
wp
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden