Skip to content

Commit 111acad

Browse files
committed
fix dir of server.py
1 parent 3244d3e commit 111acad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • cookbook/client/server/megatron

cookbook/client/server/megatron/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ print_info "日志输出到: $LOG_FILE"
334334
echo ""
335335

336336
# 启动服务器并实时显示日志
337-
nohup python server.py > "$LOG_FILE" 2>&1 &
337+
nohup python "$(dirname "$0")/server.py" > "$LOG_FILE" 2>&1 &
338338
SERVER_PID=$!
339339

340340
# 实时显示日志

0 commit comments

Comments
 (0)