Commit 8e4ba8b
fix(e2e): use exec to improve SIGINT delivery on Unix
On Unix systems, running commands through a shell creates a process
chain (sh → vite → node) which makes SIGINT delivery unreliable.
Using 'exec' replaces the shell with the actual command, reducing
the process hierarchy and making signal propagation work correctly.
This fixes the ctrl-c-interruption test on Ubuntu where the SIGINT
was not reaching the Node.js process, causing timeouts instead of
graceful shutdowns.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e08a14b commit 8e4ba8b
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | | - | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
0 commit comments