On Thu, Sep 22, 2016 at 8:23 PM, Kerin Millar <k...@plushkava.net> wrote:
> Duly updated to use any instead of ==, as recommended by Brian Dolbec.
>
> --
> Kerin Millar <k...@plushkava.net>

My first choice would be to use a small test case to detect when ipc
is broken, and disable it dynamically. A good example of such a test
is the can_poll_device function here:

https://gitweb.gentoo.org/proj/portage.git/tree/pym/portage/util/_eventloop/EventLoop.py?h=portage-2.3.1#n597

If it's not possible to use a test similar to the above, maybe it's
best to use /proc/version or /proc/sys/kernel/osrelease as mentioned
in the following issue:

https://github.com/Microsoft/BashOnWindows/issues/423

Thanks,
Zac

Reply via email to