Return whether commandline indicates we are forking
(argv)
| 55 | # |
| 56 | |
| 57 | def is_forking(argv): |
| 58 | ''' |
| 59 | Return whether commandline indicates we are forking |
| 60 | ''' |
| 61 | if len(argv) >= 2 and argv[1] == '--multiprocessing-fork': |
| 62 | return True |
| 63 | else: |
| 64 | return False |
| 65 | |
| 66 | |
| 67 | def freeze_support(): |
no outgoing calls
no test coverage detected
searching dependent graphs…