get process id
Fairlight
fairlite at fairlite.com
Sun Oct 10 13:47:42 PDT 2004
The honourable and venerable Kenneth Brody spoke thus:
> Fairlight wrote:
> [...]]
> > Keeping in mind that the PID itself is not unique unless bound to a date
> > and time, since PID-space recycles at around 32000-ish on most 32bit
> > operating systems, and even some 64bit ones (Solaris 7 and 8 come to mind).
>
> Well, it's unique during its lifetime. Depending on the purpose, this
> may be sufficient.
May be.
> > Ken, does USER directly exec() or does it use system()?
>
> system() and popen() don't allow the two-way pipe that USER needs, so
> filePro uses fork()/exec() here.
Good, then the USER to the perl one-liner will work fine.
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