aws-amicleaner
aws-amicleaner copied to clipboard
Windows support (fcntl doesn't exist on win)
Hi,
It's no stated anywhere that amicleaner does not run on win10. But when I try to run it first tried source 'ncurses' which can be easily installed through pip but now it tries to use 'fcntl' somehwere although I didn't spot it in your code it's probably some linux dependency and thus amicleaner fails and there's no replacement for 'fcntl'. There is 'portalocker' which can expose the same but it needs a code change.
This could be fixed by installing blessed libary, and, replace all uses of import blessings
with import blessed
. The blessed library is API compatible with blessings, and, works on Windows 10. Best wishes,