From ced44aa4aba10a8d6df6820f7afe2815fab66ceb Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Wed, 7 May 2025 18:50:51 +0200 Subject: [PATCH] Allow non-zero shell exit codes (#1377) --- web/syscalls/shell.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/syscalls/shell.ts b/web/syscalls/shell.ts index 0711a333..6b0af1d3 100644 --- a/web/syscalls/shell.ts +++ b/web/syscalls/shell.ts @@ -45,9 +45,6 @@ export function shellSyscalls( }, ); const { code, stderr, stdout } = await (await resp).json(); - if (code !== 0) { - throw new Error(stderr); - } return { code, stderr, stdout }; }, "shell.spawn": (