From 57cca45e9a185d2c4b0c416f13430fe54467fc52 Mon Sep 17 00:00:00 2001 From: Bob Clary Date: Sun, 23 Sep 2018 15:08:56 -0700 Subject: [PATCH] Bug 1485638 - [mozsystemmonitor] Multiprocessing.Process should always be called with keyword arguments, r=ahal. --- .../mozsystemmonitor/mozsystemmonitor/resourcemonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py b/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py index 9ad54e8a7fcf..634b1e2a6be9 100644 --- a/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py +++ b/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py @@ -258,7 +258,7 @@ class SystemResourceMonitor(object): self._pipe, child_pipe = multiprocessing.Pipe(True) - self._process = multiprocessing.Process(None, _collect, + self._process = multiprocessing.Process(target=_collect, args=(child_pipe, poll_interval)) def __del__(self):