On Jun 6, 2009, at 3:18 PM, Ammar Ibrahim wrote:

On Sun, Jun 7, 2009 at 1:09 AM, Bill Bumgarner <b...@mac.com> 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 really need to use curl, you should probably link against libcurl and use the code directly. The API is quite easy to work with.

Dave
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to