From 640f4444f55a3027e7654b6f5714605d466007e0 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 6 Nov 2020 20:48:25 -0600 Subject: [PATCH] Disable SIGIO notifier on WSL It currently does not trigger the uvar notifier and fails the automated tests. See #7429. --- src/env_universal_common.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index 56758ac7c..965533287 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -1572,6 +1572,10 @@ universal_notifier_t::notifier_strategy_t universal_notifier_t::resolve_default_ #elif defined(__CYGWIN__) return strategy_shmem_polling; #elif defined(SIGIO) + // The SIGIO notifier does not yet work on WSL. See #7429 + if (is_windows_subsystem_for_linux()) { + return strategy_named_pipe; + } return strategy_sigio; #else return strategy_named_pipe;