File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ namespace xpyt
2626
2727 void xasync_runner::run_impl ()
2828 {
29-
29+ std::cout << " get descriptors " << std::endl;
3030
3131 int fd_shell_int = static_cast <int >(this ->get_shell_fd ());
3232 int fd_controller_int = static_cast <int >(this -> get_shell_controller_fd ());
3333
34+ std::cout << " Got descriptors: " << fd_shell_int << " , " << fd_controller_int << std::endl;
35+
3436 // wrap this->on_message_doorbell_shell and this->on_message_doorbell_controller
3537 // into a py::cpp_function
3638 py::cpp_function shell_callback = py::cpp_function ([this ]() {
@@ -44,7 +46,7 @@ namespace xpyt
4446 py::exec (R"(
4547
4648 import sys
47- is_win = sys.platform.startswith("win")
49+ is_win = sys.platform.startswith("win") or sys.platform.startswith("cygwin") or sys.platform.startswith("msys")
4850
4951 import asyncio
5052 if is_win:
You can’t perform that action at this time.
0 commit comments