From d843fd4443ab294243a6031ea7f9ceea3a7c5dc6 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Tue, 23 Sep 2025 12:00:59 -0400 Subject: [PATCH] Apply suggestion from @coderabbitai[bot] Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .devcontainer/scripts/restart-backend.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/scripts/restart-backend.sh b/.devcontainer/scripts/restart-backend.sh index 8ca0c43e..efd4bab4 100755 --- a/.devcontainer/scripts/restart-backend.sh +++ b/.devcontainer/scripts/restart-backend.sh @@ -19,6 +19,8 @@ echo ''|tee $LOG_DIR/stdout.log $LOG_DIR/stderr.log $LOG_DIR/app.log cd "$APP_DIR" # Launch using absolute module path for clarity; rely on cwd for local imports -setsid nohup ${PY} -m debugpy --listen 0.0.0.0:${PORT_DEBUG} /app/server/__main__.py 1>>/app/log/stdout.log 2>>/app/log/stderr.log & +setsid nohup "${PY}" -m debugpy --listen "0.0.0.0:${PORT_DEBUG}" /app/server/__main__.py \ + 1>>"$LOG_DIR/stdout.log" \ + 2>>"$LOG_DIR/stderr.log" & PID=$! sleep 2