setsid
¤
setsid
¤
Bases: SimProcedure
run
¤
run()
if self.state.globals['is_leader_group'] : return -1 else : self.state.globals['is_leader_group'] = True return self.state.posix.pid
Source code in sema_toolchain/sema_scdg/application/procedures/linux/custom_package/setsid.py
11 12 13 14 15 16 17 18 19 20 21 22 23 |
|