Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The perlscript is made into an executable via perlcc and given setuid/path/I/know/MAINSCRIPT.KSH calls PERLSCRIPT PERLSCRIPT.pl ------------- check I'm being called by /path/I/know/MAINSCRIPT.KSH if no exit else continue
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detect name and path of calling script
by derby (Abbot) on Apr 08, 2008 at 13:11 UTC | |
by Anonymous Monk on Apr 08, 2008 at 13:45 UTC | |
|
Re: Detect name and path of calling script
by oko1 (Deacon) on Apr 08, 2008 at 15:08 UTC |