containers / containers/bubblewrap

Feature request: --json-status-fd could provide pid of command?

Open
#553 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

`--json-status-fd` gives a `child-pid` value, which is handy. In a lot of situations that is the pid of the COMMAND you're running in the sandbox.

But when run with `--unshare-pid` (and maybe others) `bwrap` forks itself and `child-pid` references the fork. I would like a way of getting the pid of the COMMAND. Could this be added to the JSON output?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.