← 教程列表
news

Use --foreground and set is_background: true on your shell tool call

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 7 阅读

# so the process survives across turns scripts/start-server.sh --project-dir /path/to/project --foreground ``` **Other environments:** The server must keep running in the background across conversation turns. If your environment reaps detached processes, use `--foreground` and launch the command with your platform's background execution mechanism. If the URL is unreachable from your browser (common in remote/containerized setups), bind a non-loopback host: ```bash scripts/start-server.sh \ --project-dir /path/to/project \ --host 0.0.0.0 \ --url-host localhost ``` Use `--url-host` to control what hostname is printed in the returned URL JSON.

← 返回教程列表 AI8899 · 内容仅供学习参考