What is the best way to get the number of files open by a process in Go on Windows? I'm trying to avoid using a wrapper around Handle since it cannot be redistributed. On Linux/Mac, one could use the os/exec
package to call the lsof
command, but there doesn't seem to be a native lsof
equivalent in Windows.