Ted Ashton writes:
> Is there a (preferably User mode) method to find out what command
> invoked a given program (not Posix)?
[snip]
> (I've already checked PROCINFO, HPMYFILE and HPMYPROGRAM, all of which
> give the actual file name, not the name used)
How about invoking the program from CI scripts? Then HPFILE should
contain the name of the currently-executing script. (And if this var
is empty, then the program would assume "default" functionality.)
--Glenn