Repository navigation
Commit e38f0b6
committed
fix: pass windowsHide to the git execSync calls
`execSync` with a string command runs through `cmd.exe` on Windows, and
`windowsHide` defaults to false, so the child process is created with a console
window whenever the caller has no console of its own — which is the case for the
OpenCode service process. A newly created console window takes foreground focus,
which breaks IME composition while a session is in use.
The CLI entrypoint already passes `windowsHide: true`; these six call sites in
`src/services/tags.ts` did not. `stdio: ["pipe", "pipe", "pipe"]` does not
suppress the window on Windows — only `windowsHide` does.
Fixes supermemoryai#1011 parent 4271adf commit e38f0b6
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
0 commit comments