Open skyem123 opened 7 years ago
I've fixed this problem with spawn by backing out the change in glibc mentioned here https://github.com/Microsoft/BashOnWindows/issues/1878 The package is available on the AUR here: https://aur.archlinux.org/packages/glibc-wsl/ You need to build it on a system that already has a working glibc, e.g. a proper linux install.
I'm not sure if this is the correct place for this as there is an issue on the main WSL thing, but I'm reporting this anyway in the hope that it can help. Whenever the
ninja
build tool tries to start another program it crashes with the errorninja: fatal: posix_spawn: Invalid argument
.A good / simple way to reproduce is to compile ninja from source. I have also put some more details at https://github.com/Microsoft/BashOnWindows/issues/1306#issuecomment-263065155.