fixed spawn error in windows

05f3f510407d66624caa3f1385b10c216ec1ac3c