newpid

run a command in a new PID namespace

Install

All systems
curl cmd.cat/newpid.sh
Debian Debian
apt-get install newpid
Ubuntu
apt-get install newpid
image/svg+xml Kali Linux
apt-get install newpid
Windows (WSL2)
sudo apt-get update sudo apt-get install newpid
Raspbian
apt-get install newpid

newpid

run a command in a new PID namespace

newpid is a very simple wrapper around clone(CLONE_NEWPID) that launches a command in a new PID namespace. /proc is also remounted so it sees the new process space. Needs root to run.