LPS-44253 Add exec compatibility for Windows