Sends signal ``name`` to process when parent process terminates.
(name)
| 711 | |
| 712 | |
| 713 | def set_pdeathsig(name): |
| 714 | """Sends signal ``name`` to process when parent process terminates.""" |
| 715 | if signals.supported('SIGKILL'): |
| 716 | try: |
| 717 | _set_pdeathsig(signals.signum('SIGKILL')) |
| 718 | except OSError: |
| 719 | # We ignore when OS does not support set_pdeathsig |
| 720 | pass |
| 721 | |
| 722 | |
| 723 | def set_process_title(progname, info=None): |