system.getpid Synopsis local system = require "system" system.getpid() -> integer Description Returns the process ID of the calling process. landlock_restrict_self getppid