pipeline_create_commands() can also be arrays.

This solves issues about quoting the arguments, especially for db_cmd