This PR adds Windows support to LocalFilesystemWithShell.execute () by detecting the OS and using cmd /c instead of sh -c on Windows. The approach is correct and the change is small and focused.