go ahead... be a heretic | |
PerlMonks |
patricide / matricideby dshahin (Pilgrim) |
on Mar 10, 2001 at 04:21 UTC ( [id://63410]=perlquestion: print w/replies, xml ) | Need Help?? |
dshahin has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to be able to kill the shell that invoked my perl program BASH offers a $PPID and sh offers $$, but $$ gets translated to to the pid of perl, not the underlying shell. basically, my program is invoked at login, and when it exits, I want to make sure the user logs out instantly, regardless of their chosen shell any tips as to determing the pid of the shell that invoked your perl interpreter? (extra credit: is there a term that means killing one's parents that is not gender specific?)
Back to
Seekers of Perl Wisdom
|
|