Re: NSTask & curl
Re: NSTask & curl
- Subject: Re: NSTask & curl
- From: Ammar Ibrahim <email@hidden>
- Date: Sun, 7 Jun 2009 01:18:30 +0300
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.
_______________________________________________
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