You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
In Ansible, depending on when CTRL+C is triggered, if it occurs after the connection multiplexer process has forked, and after it has in turn forked the "connection: local" context and its corresponding "clean fork parent", since all the broker processes still belong to Ansible's terminal foreground process group, they are all capable of receiving SIGINT in response to CTRL+C being pressed on that terminal. This papers over the problem. Really we want those KeyboardInterrupts to be logged, to call setsid() frmo the connection multiplexer process to isolate it from the terminal foreground process group. That way its only indication of top-level process shutdown is using the graceful disconnect mechanism that already exists in process.py::worker_main(). |
8 years ago | |
|---|---|---|
| .travis | 8 years ago | |
| ansible_mitogen | 8 years ago | |
| docs | 8 years ago | |
| examples | 8 years ago | |
| mitogen | 8 years ago | |
| tests | 8 years ago | |
| .gitignore | 8 years ago | |
| .lgtm.yml | 8 years ago | |
| .travis.yml | 8 years ago | |
| ChangeLog | 8 years ago | |
| LICENSE | 8 years ago | |
| README.md | 8 years ago | |
| dev_requirements.txt | 8 years ago | |
| preamble_size.py | 8 years ago | |
| run_tests | 8 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 8 years ago | |
| tox.ini | 8 years ago | |