Emilua API Reference system Process & job control getpid For the latest stable version, please use Emilua API 0.10! system.getpid Synopsis local system = require "system" system.getpid() -> integer Description Returns the process ID of the calling process. linux_capabilities getppid