From 96df776b4e2b0d8dfa8e475f29accd4a6d6e4c9b Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Tue, 6 Dec 2022 19:47:58 +0100 Subject: [PATCH] I am stupid Signed-off-by: Sam Therapy --- run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.ts b/run.ts index 78bcd1c..e6b74cf 100755 --- a/run.ts +++ b/run.ts @@ -64,12 +64,12 @@ const prog = Deno.run({ stderr: "piped", }); -// TODO: make this dynamic? -const status = await prog.status() copy(prog.stdout, Deno.stdout); copy(prog.stderr, Deno.stderr); +const status = await prog.status() + prog.close(); if (!status.success) {