You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:31:06 UTC

[buildstream] 12/19: Change subprocess.run to start

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch phil/ui-split-refactor
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit be6e68ff519c3185252149a98d59f42dc72925bd
Author: Phil Dawson <ph...@codethink.co.uk>
AuthorDate: Thu Jul 4 14:44:29 2019 +0100

    Change subprocess.run to start
---
 src/buildstream/_stream.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index d2a4d08..0fe2234 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -66,7 +66,7 @@ def subprocessed(func):
         target = functools.partial(func, self, *args, **kwargs)
         print("launching subprocess:", process_name)
         self._subprocess = mp_context.Process(target=target, name=process_name)
-        self._subprocess.run()
+        self._subprocess.start()
 
         # TODO connect signal handlers