| 1 | diff --git a/otpush/push.py b/otpush/push.py |
| 2 | index cd660fd..8622e05 100755 |
| 3 | |
| 4 | |
| 5 | class RepoServer: |
| 6 | address it is bound to. If the address is not received by the |
| 7 | instance's timeout value, an exception is raised. |
| 8 | """ |
| 9 | - addr_queue = multiprocessing.Queue() |
| 10 | - self.proc = multiprocessing.Process( |
| 11 | + ctx = multiprocessing.get_context('fork') |
| 12 | + addr_queue = ctx.Queue() |
| 13 | + self.proc = ctx.Process( |
| 14 | target=self._run_server, |
| 15 | args=(self.path, addr_queue) |
| 16 | ) |