From 432a6dd3fc7c7f5e2cd7e1385563db49989a961c Mon Sep 17 00:00:00 2001 From: toyobayashi Date: Tue, 2 Apr 2024 21:00:54 +0800 Subject: [PATCH] pipe stderr --- pylib/gyp/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylib/gyp/common.py b/pylib/gyp/common.py index 028387e4..18c7d1c3 100644 --- a/pylib/gyp/common.py +++ b/pylib/gyp/common.py @@ -451,7 +451,7 @@ def replace_sep(s): out = subprocess.Popen( real_cmd, shell=True, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT + stdout=subprocess.PIPE, stderr=subprocess.PIPE ) stdout, stderr = out.communicate() finally: @@ -462,7 +462,7 @@ def replace_sep(s): out = subprocess.Popen( real_cmd, shell=False, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT + stdout=subprocess.PIPE, stderr=subprocess.PIPE ) stdout, stderr = out.communicate()