Change spawn to work on windows

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