wetware / pkg

Peer-to-peer cloud environment
https://wetware.run
Other
38 stars 7 forks source link

Keep track of process hierarchy with a process tree #148

Closed mikelsr closed 1 year ago

mikelsr commented 1 year ago

Depends on #147 .

Adds a new ppid parameter to exec calls, which will be obsolete once the auth feature is ready and we can get the caller's id from there (IIUC).

The process tree makes it much easier to manage process hierarchies, handle orphan processes and avoid process leaks.