Commit 55c1b5a
committed
fix: suppress xlings subprocess noise on Windows during bootstrap
Two places in the first-run bootstrap path were missing output
redirection on Windows, causing xlings internal messages to leak
to the terminal:
1. ensure_init(): `xlings self init` ran without any output redirect
on Windows (Linux/macOS already had >/dev/null 2>&1). Now appends
platform::shell::silent_redirect (">/dev/null 2>&1" on Windows).
2. install_with_progress() fallback: the NDJSON interface command
had no stderr redirect on Windows (Linux/macOS had 2>/dev/null).
Now appends platform::null_redirect ("2>nul" on Windows).
After this fix, the first-run experience is consistent across all
three platforms — only mcpp's own status messages and progress bars
are shown; xlings internal output is fully suppressed.1 parent 0b82803 commit 55c1b5a
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
| 631 | + | |
631 | 632 | | |
632 | 633 | | |
633 | 634 | | |
| |||
744 | 745 | | |
745 | 746 | | |
746 | 747 | | |
747 | | - | |
| 748 | + | |
| 749 | + | |
748 | 750 | | |
749 | 751 | | |
750 | 752 | | |
| |||
0 commit comments