Should probably be ``command = command + list(extra_args)`` so it won't fail if ``extra_args`` is a tuple.