I think this only allows one argument? If you put multiple arguments in here they'll just be passed as one argument with spaces in argv I think.

Maybe splitting them by some delimiter (or using shlex) and using cmd.extend would be a better idea?