The %getppid() function returns the UNIX parent Process-ID of the calling process.
For Windows: Not Supported
var = %getppid()
FlashBASIC C functions overview, cfunction statement