If it helps, you can think of it as an object oriented wrapped around C system calls that keeps track of PID and all the other bits like stdout and so on. That helps to grok why the args is and array and the tool is separate.
Sent from my iPhone > On Jun 26, 2016, at 1:37 PM, Graham Cox <graham....@bigpond.com> wrote: > > Ah thanks Marco, Andy… this makes a lot more sense and works fine. > > ―Graham > > >>> On 26 Jun 2016, at 2:30 PM, Marco S Hyman <m...@snafu.org> wrote: >> >> I believe arguments is an array of arguments, not an array containing a >> string that matches a command line. >> >> Then your arguments array should contain five items. >> >> 1: -i >> 2: <source url> >> 3: -c >> 4: copy >> 5: <dest file> > > > _______________________________________________ > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com > > This email sent to dangerwillrobinsondan...@gmail.com _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com