https://blogssmartzone.com/186672-Kak-process-dup-handle.html