# socket\_select\_interrupter exception

**URL:** <https://discourse.cmake.org/t/socket-select-interrupter-exception/6660>\
**Category:** Code\
**Created:** [October 13, 2022, 3:10pm UTC](https://discourse.cmake.org/t/socket-select-interrupter-exception/6660 "2022-10-13T15:10:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msilvestre](https://discourse.cmake.org/user_avatar/discourse.cmake.org/msilvestre/32/2666_2.png) [@msilvestre](https://discourse.cmake.org/u/msilvestre)\
**Post date:** [October 13, 2022, 3:10pm UTC](https://discourse.cmake.org/t/socket-select-interrupter-exception/6660/1 "2022-10-13T15:10:01Z")

</div>

Hello there,

I have a project on CMake but when running it on windows it has different behaviours if I use CLion or Visual Studio.

When running on CLion I got this exception:

socket\_select\_interrupter

But when using Visual Studio everything runs soomthly without any exceptions.  
I’m using the same generator for both projects: -G “Visual Studio 16 2019”  
I guess that Visual Studio is adding some lib or something automatically.

Anyone has any ideia?

Thank you

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [October 16, 2022, 2:45pm UTC](https://discourse.cmake.org/t/socket-select-interrupter-exception/6660/2 "2022-10-16T14:45:34Z")

</div>

The error message seems to be Boost-related? I’d find out why Boost is throwing that exception in a debugger. It could be that Visual Studio runs with more entries in `PATH`? Dumping the environment in each and comparing could help determine that.

---

<div class="post-metadata">

**Author:** ![msilvestre](https://discourse.cmake.org/user_avatar/discourse.cmake.org/msilvestre/32/2666_2.png) [@msilvestre](https://discourse.cmake.org/u/msilvestre)\
**Post date:** [October 21, 2022, 9:00am UTC](https://discourse.cmake.org/t/socket-select-interrupter-exception/6660/3 "2022-10-21T09:00:44Z")

</div>

Thank you very much.  
Looking at the environment variable Path help me fix the problem!
