Problem running shell command in spawn()