Skip to content

Commit 924ee93

Browse files
committed
Log codex process exit code
1 parent 92bdde5 commit 924ee93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/CodexJsonRpcConnection.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ function attachLogs(proc: ChildProcessWithoutNullStreams, logPath: string) {
4646
proc.stdout.on("data", (data: Buffer) => {
4747
log("[STDOUT] " + data.toString());
4848
});
49+
proc.on("exit", (code) => {
50+
log("[EXIT] " + code?.toString());
51+
});
4952
}

0 commit comments

Comments
 (0)