clipboard
clipboard copied to clipboard
Breaks after certain time of using continuosly
I created an application that reads the content of the clipboard every second to synchronize several clipboards.
After some time running, the application will become unable to read content from the clipboard and will return this error: fork/exec /usr/bin/pbpaste: too many open files
I have tested it both in macOS and Ubuntu (The message in Ubuntu is the same with different executable and takes longer to appear).
hi, in this case , i think if you call clipboard.ReadAll() in a for loop, this problem will happen immediately.