get process id
Fairlight
fairlite at fairlite.com
Sat Oct 9 14:25:20 PDT 2004
Yo, homey, in case you don' be listenin', Scott Nelson done said:
> Having a brain clog here.
>
> SCO OpenServer 5.06, fP 5
>
> I need to get the process id of a filepro program and use it in a variable
> while in the program. I know this has been discussed in the past, but
> there is a memory leak here....
-Assuming- that fP uses fork/exec for USER rather than system() (the latter
would put an extra shell process between fP and the child), run USER on the
following and grab the single line result:
perl -e 'print(getppid(),"\n");'
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