From be8f6ae87613c1ffcadf44fde4181c69003a4c3b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 16 Sep 2019 13:09:59 -0400 Subject: [PATCH] redirect stderr to stdout, for reasons --- bake/bakefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bake/bakefile.py b/bake/bakefile.py index cc1c205..73bda1c 100644 --- a/bake/bakefile.py +++ b/bake/bakefile.py @@ -196,7 +196,7 @@ class TaskScript(BaseAction): script_tf = self.prepare_init(sources=[self.source], insert_source=init_tf) args = " ".join([shlex_quote(a) for a in self.bashfile.args]) - script = f"source {shlex_quote(init_tf)}; {shlex_quote(script_tf)} {args} | bake:indent" + script = f"source {shlex_quote(init_tf)}; {shlex_quote(script_tf)} {args} 2>&1 | bake:indent" cmd = f"bash -c {shlex_quote(script)}" if debug: