Getting launchd to read program arguments correctly
The Program key specifies the file to execute, &amp; the ProgramArguments key specifies the arguments which will be passed to the executing process. Strictly speaking you can pass whatever arguments you want to a process, but the convention is that the first one should be the name by which the process was invoked, so most programs ignore their first argument.‡ The file to execute is obviously necessary information, but if the  Program key is is missing, launchd pretends it has the same value as the first argument in ProgramArguments purely as a convenience.

Your first example starts boinccmd &amp; gives it arguments that would be equivalent to the terminal command

--host\ localhost --passwd\ gobbledygook --project\ http://setiathome.berkeley.edu/\ update


which tells boinccmd that you invoked it as "--host localhost" &amp; only passed it two weird arguments.

Your second example separates the arguments correctly, but as Eddie Kelley suggested it needs one inserted at the front. It tells boinccmd that you invoked it as "--host", then passed another six arguments. boinccmd can recognise the last five as being two options, but has no idea what the "localhost" business is about. As far as boinccmd can tell, it was invoked from the terminal as

/Library/Application\ Support/BOINC\ Data/boinccmd localhost --passwd gobbledygook --project http://setiathome.berkeley.edu/ update


(note the missing "--host").

boinccmd is probably one of the great majority of programs that don't care what their first argument is, so you could probably actually just shove &lt;string&gt;HELLO&lt;/string&gt; at the head of the ProgramArguments array, but it's probably cleaner to remove the Program key altogether &amp; just use this:

&lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/Library/Application Support/BOINC Data/boinccmd&lt;/string&gt;
        &lt;string&gt;--host&lt;/string&gt;
        &lt;string&gt;localhost&lt;/string&gt;
        &lt;string&gt;--passwd&lt;/string&gt;
        &lt;string&gt;gobbledygook&lt;/string&gt;
        &lt;string&gt;--project&lt;/string&gt;
        &lt;string&gt;http://setiathome.berkeley.edu/&lt;/string&gt;
        &lt;string&gt;update&lt;/string&gt;
    &lt;/array&gt;


‡ It can seem like a meaningless redundancy, but some programs use this to good effect: bash et al. act as login shells if their first argument begins with -, &amp; Vim enters various emulation modes if its first argument is ed or vi instead of vim.