Change spawn to working on windows

Windows doesn't recognize the composer as a command, so you should use this parameters to workaround.