flupy icon indicating copy to clipboard operation
flupy copied to clipboard

Fix Windows compatibility

Open abraha2d opened this issue 1 year ago • 0 comments

Fixes #33.

The SIGPIPE signal is not available on Windows, so its import fails on that platform.

Upon further investigation, the SIGPIPE signal is already handled by Python by default, so the signal(SIGPIPE, SIG_DFL) call shouldn't actually do anything...

~Currently untested on Windows, but did test that this change does not adversely affect Linux. Will remove draft status once tested on Windows.~

Changes tested on both Linux (Ubuntu 22.04, Python 3.10) and Windows (Windows 10, Python 3.12).

abraha2d avatar Apr 27 '24 16:04 abraha2d