From 4d98abd549830ba060bfaff180a2dee4b46bc515 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Fri, 15 May 2020 18:15:11 +0200
Subject: [PATCH] Python 3.8 multiprocessing.resource_tracker fix

From: https://github.com/pyinstaller/pyinstaller/issues/4865
---
 PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PyInstaller/loader/rthooks/pyi_rth_multiprocessing.py b/PyInstaller/loader/rthooks/pyi_rth_multiprocessing.py
index 45c108b8..1f3b1ff9 100644
--- a/PyInstaller/loader/rthooks/pyi_rth_multiprocessing.py	2020-05-15 18:36:29.000000000 +0200
+++ b/PyInstaller/loader/rthooks/pyi_rth_multiprocessing.py	2020-05-15 18:37:06.000000000 +0200
@@ -39,6 +39,7 @@
                 set(sys.argv[1:-2]) == set(_args_from_interpreter_flags()) and \
                 sys.argv[-2] == '-c' and \
                 (sys.argv[-1].startswith('from multiprocessing.semaphore_tracker import main') or \
+                 sys.argv[-1].startswith('from multiprocessing.resource_tracker import main') or \
                  sys.argv[-1].startswith('from multiprocessing.forkserver import main')):
             exec(sys.argv[-1])
             sys.exit()
-- 
2.23.0
