Recording crashes on macOS - Invalid argument (os error 22)
ku1ik opened this issue · 3 comments
ku1ik commented
$ target/release/asciinema rec demo.cast
Error: Invalid argument (os error 22)
Seems to be related to tokio-rs/mio#1377
ku1ik commented
More on the problem: https://nathancraddock.com/blog/macos-dev-tty-polling/
ku1ik commented
The select
+thread trick described here is something to consider: https://code.saghul.net/2016/05/libuv-internals-the-osx-select2-trick/