Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[tesh] setsid -> setpgid(0,0)
authorMillian Poquet <millian.poquet@inria.fr>
Thu, 13 Jun 2019 17:52:34 +0000 (19:52 +0200)
committerMillian Poquet <millian.poquet@inria.fr>
Thu, 13 Jun 2019 17:52:34 +0000 (19:52 +0200)
commitaae8d9f1052c3fca50cc5309809fa142ecf1b173
tree1a59cc7535cea5c522e7ae5dc781f57a3c1384e9
parent4ea9f48f3f3635e8eda270d3c5d071d9a5c61fda
[tesh] setsid -> setpgid(0,0)

As the cleanup function is based on process groups and not session ids,
creating a process group rather than a session seems more adequate.

Info: http://www.andy-pearce.com/blog/posts/2013/Aug/process-groups-and-sessions/
tools/tesh/tesh.py