From 917e43d0d370bae80276450004df523339e92bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 7 Aug 2019 14:15:30 +0200 Subject: _stream.py: Disable fork for Element._shell() With the buildbox sandboxing backend, communication with casd is required by Element._shell(). Disable fork after preparation to allow communication with casd in the main process. --- src/buildstream/_stream.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buildstream') diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 15410fb28..167127cf2 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -223,6 +223,8 @@ class Stream(): else: buildtree = True + self._context.disable_fork() + return element._shell(scope, directory, mounts=mounts, isolate=isolate, prompt=prompt, command=command, usebuildtree=buildtree) -- cgit v1.2.1