This was posted back in 2014 but still applies in 2019 with the latest stable Bitcoin Core: https://bitcoin.stackexchange.com/questions/23999/blocknotify-walletnotify-but-without-the-console-window
The blocknotify/walletnotify configuration directives, which call a command on the computer, force a brief, flickering window each time it's run which will drive anyone insane if exposed to it day after day. It's like Chinese water torture.
I've tried every trick in the book to attempt to bypass this, but it's just not possible without modifications to the Bitcoin Core source code. I ask you to fix this (a solution is apparently in the link) so that I can run my Bitcoin payment system while using the computer and not go insane from the little windows that keep flashing by!