For the latest stable version, please use Emilua API 0.10!

system.getppid

Synopsis

local system = require "system"
system.getppid() -> integer

Description

Returns the parent process ID of the calling process.