Allow non-zero shell exit codes (#1377)

This commit is contained in:
Lennart Ochel
2025-05-07 18:50:51 +02:00
committed by GitHub
parent 71ba757534
commit ced44aa4ab
-3
View File
@@ -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": (