in reply to Re: Windows 10 Command Prompt
in thread Windows 10 Command Prompt

why not just Win32::Getppid (oops thanks soonix!)?

use Win32::Getppid; my $parent_pid = getppid;

bw, bliako

edit: primitive os, brutal practices :)

Replies are listed 'Best First'.
Re^3: Windows 10 Command Prompt
by PilotinControl (Pilgrim) on Dec 24, 2020 at 15:16 UTC

    @bliako: Thanks this worked to get the process ID!