Skip to content

Commit 3b98a12

Browse files
authored
chore(demo): silence job-control noise on demo shutdown (#41)
disown the stub and server after backgrounding so the cleanup kill does not print 'Terminated' lines after the demo's closing summary. Signed-off-by: Val Alexander <bunsthedev@gmail.com>
1 parent 3ea97ec commit 3b98a12

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/demo/run-demo.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ STUB_PID=$!
114114
RUST_LOG=info "$ROOT/target/debug/coven-github" serve \
115115
--config "$DEMO_DIR/config.toml" > "$DEMO_DIR/server.log" 2>&1 &
116116
SERVER_PID=$!
117+
# Detach both from job control so shutdown doesn't print 'Terminated' noise.
118+
disown "$STUB_PID" "$SERVER_PID"
117119

118120
# ── Helpers ──────────────────────────────────────────────────────────────────
119121

0 commit comments

Comments
 (0)