From 2a800c5865375e6e4348d12799c002900733fa8b Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski Date: Tue, 1 Sep 2015 21:30:23 +0200 Subject: [PATCH] Adding expected non-blocking output Found the missing setting to make command outputs non-blocking. In my point of view this is the expected behaviour. --- pythonforandroid/toolchain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py index 09ebb9a5e3..0cace9cfc1 100755 --- a/pythonforandroid/toolchain.py +++ b/pythonforandroid/toolchain.py @@ -108,6 +108,7 @@ def shprint(command, *args, **kwargs): kwargs["_iter"] = True kwargs["_out_bufsize"] = 1 kwargs["_err_to_out"] = True + kwargs["_bg"] = True if len(logger.handlers) > 1: logger.removeHandler(logger.handlers[1]) command_path = str(command).split('/')