summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-07-03 18:49:10 +0300
committerLars Wirzenius <liw@liw.fi>2023-07-03 18:49:10 +0300
commit677abcdcc3612c6f2110db64df81966f453461c3 (patch)
tree77160f2c817e700b8cdf7e538aba3aaf13a441f4
parent2f9435a97c9293366e2d96707990bb51c25d9d65 (diff)
downloadambient-ci-677abcdcc3612c6f2110db64df81966f453461c3.tar.gz
fix: don't capture output, write to terminal directly
Sponsored-by: author
-rwxr-xr-xambient-run-script3
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}")