fix(cli): respect platform shell for --on-complete

This commit is contained in:
孔祥俊
2026-03-27 11:11:58 +08:00
parent 1c9f4148d0
commit 661737b95a
4 changed files with 156 additions and 3 deletions

View File

@@ -138,6 +138,8 @@ bunx oh-my-openagent run [prompt]
| `--on-complete <action>` | Action on completion |
| `--verbose` | Enable verbose logging |
`--on-complete` runs through your current shell when possible: `sh` on Unix shells, `pwsh` for PowerShell on non-Windows, `powershell.exe` for PowerShell on Windows, and `cmd.exe` as the Windows fallback.
---
## mcp oauth