Commit 50c0e12
fix(e2e): use process groups for reliable SIGINT delivery
Instead of using 'exec' which breaks shell syntax like environment
variable assignments, create a new process group on Unix platforms.
This allows send_ctrlc to deliver SIGINT to the entire process tree
including sh -> vite -> node chains.
The previous 'exec' approach failed for commands like:
FOO=1 vite run hello
because exec can't handle shell variable assignment syntax.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 8e4ba8b commit 50c0e12
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | 178 | | |
186 | | - | |
| 179 | + | |
187 | 180 | | |
188 | 181 | | |
189 | 182 | | |
190 | 183 | | |
191 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments