mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
redirect stderr to stdout, for reasons
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user