As explained in the documentation:
http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
Spawn take, as second parameter, an array made of your different arguments. It would look like this:
s = spawn './myScript.sh', [url, title]