Method
FlatpakInstanceget_child_pid
since: 1.1
Declaration [src]
int
flatpak_instance_get_child_pid (
FlatpakInstance* self
)
Description [src]
Gets the host PID of the sandbox’s initial process. This is normally bubblewrap’s supervisor process, not the application process.
This process has PID 1 inside a dedicated PID namespace, but can have another PID in a shared namespace. This function always returns the host PID.
See flatpak_instance_get_pid() for the outer bubblewrap process.
Returns 0 if the PID is unavailable, such as during startup. A nonzero PID does not guarantee that the application has started or that the process is still running.
Available since: 1.1