Fix default assignment in spawn_command

Pass default values as second argument so it's possible to override it.
Merge pull request #698 from stefanbuck/patch-1

Fix default assignment in spawn_command