getppid() doesn't work on Windows