mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
libuv: Avoid posix_spawn on Solaris
It seems to cause hangs running certain child processes, like `make`.
This commit is contained in:
1 parent
61158e2377
commit
436a2745dd
1 file changed
+2
@@ -537,6 +537,8 @@ static void uv__spawn_init_posix_spawn(void) {
|
||||
#elif defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED < 1080
|
||||
/* posix_spawn on macOS < 10.8 has been observed to cause
|
||||
kernel panics and/or resource exhaustion. Always use fork. */
|
||||
#elif defined(__sun__)
|
||||
/* posix_spawn on Solaris has been observed to cause hangs. */
|
||||
#else
|
||||
#if !defined(__linux__) && !defined(_AIX) && !defined(__PASE__)
|
||||
posix_spawn_works = 1;
|
||||
|
||||
Reference in new issue
Block a user