get process id

Fairlight fairlite at fairlite.com
Mon Oct 11 13:01:16 PDT 2004


Y'all catch dis heeyah?  Kenneth Brody been jivin' 'bout like:
> Bob Stockler wrote:
> > 
> > I don't know whether I misunderstood all of the responses or
> > perhaps the originating post in this thread, but . . .
> > 
> > I thought the original question was, to the effect, "How do I
> > get the PPID of a filePro process?".
> > 
> > And, it seems to me that all of the responses concerned ways
> > to return the PPID of a program called by the USER command,
> > which would be the PID of the filePro process and not its PPID.
> 
> The original question was:
> 
>     I need to get the process id of a filepro program and use it in
>     a variable while in the program.

Indeed, which would be *clerk or *report, I presume.

You know, on linux I have code that will actually go straight up the
process tree using /proc, and you can stop where you like.  It's not
actually hard to adapt this to SCO's 'ps', I suppose.

mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list