in reply to Fork Opens CMD Not the Process

I don't use Windows, but these links might help:
Capture PID from child process on Windows.
IPC::Open3 and Real PID

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh