implements ppid, num_threads and exe on windows