[fpc-pascal] Checking Linux process existence (child or not) without OS command ?

Marco van de Voort marcov at stack.nl
Mon Sep 21 16:01:13 CEST 2009


In our previous episode, Henry Vermaak said:
> > Does anyone know a simple way to check if a Linux process exists/runs
> > (child or not) *without* running an OS command via TProcess (or other)?
> 
> You can read all the /proc/%d/cmdline files to search for a specific process.

While it might work, it won't port well to other unices.



More information about the fpc-pascal mailing list