fixed a bug when set shellslash on windows.