Perl Monk, Perl Meditation | |
PerlMonks |
Re: Who called Perl?by Corion (Patriarch) |
on Mar 02, 2015 at 08:59 UTC ( [id://1118375]=note: print w/replies, xml ) | Need Help?? |
You can use getppid resp. Win32::Getppid to find the PID of the parent process. This is not necessarily a shell, because Perl and other programs can also launch Perl directly without an intervening shell.
In Section
Seekers of Perl Wisdom
|
|