diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-07-03 18:49:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-07-03 18:49:10 +0300 |
commit | 677abcdcc3612c6f2110db64df81966f453461c3 (patch) | |
tree | 77160f2c817e700b8cdf7e538aba3aaf13a441f4 | |
parent | 2f9435a97c9293366e2d96707990bb51c25d9d65 (diff) | |
download | ambient-ci-677abcdcc3612c6f2110db64df81966f453461c3.tar.gz |
fix: don't capture output, write to terminal directly
Sponsored-by: author
-rwxr-xr-x | ambient-run-script | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ambient-run-script b/ambient-run-script index c94f015..a4483f1 100755 --- a/ambient-run-script +++ b/ambient-run-script @@ -81,11 +81,10 @@ class RunScript: with open(self.args.tty, "wb") as stdout: p = subprocess.run( [f"./{script}", os.path.abspath(self.args.artifact)], - stdout=subprocess.PIPE, + stdout=stdout, stderr=subprocess.STDOUT, cwd=src, ) - self.msg(f"stdout: {p.stdout.decode()}") def save_cache(self): self.msg(f"save /workspace/cache to {self.args.cache}") |