HP3000-L Archives

October 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Glenn Cole <[log in to unmask]>
Reply To:
Glenn Cole <[log in to unmask]>
Date:
Tue, 5 Oct 1999 10:13:36 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
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

ATOM RSS1 RSS2