Merge pull request #2006 from arimu1/fix/1929-copilot-cli-docs-windows

docs(brainstorming): correct Copilot CLI backgrounding guidance for Windows
This commit is contained in:
Drew Ritter
2026-08-07 12:39:47 -07:00
committed by GitHub

View File

@@ -83,10 +83,11 @@ scripts/start-server.sh --project-dir /path/to/project --open --foreground
**Copilot CLI:** **Copilot CLI:**
```bash ```bash
# Use --foreground and start the server via the bash tool with mode: "async" # Start it with Copilot CLI's non-blocking/background shell mechanism so the
# so the process survives across turns. Capture the returned shellId for # server survives across turns. Keep --foreground so the harness, not the
# read_bash / stop_bash if you need to interact with it later. # script, owns backgrounding. The launcher is a .sh, so invoke it via bash
scripts/start-server.sh --project-dir /path/to/project --open --foreground # (on Windows, call Git Bash's bash.exe from the PowerShell tool).
bash scripts/start-server.sh --project-dir /path/to/project --open --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. **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.