Commit 770fc52
committed
refactor: use graceful termination in process name-based cleanup
- Changed from immediate force kill to graceful termination first
- Windows: try taskkill without /F first, escalate to /F on failure
- Unix: use existing killProcessGracefully helper (SIGTERM then SIGKILL)
- Matches the graceful termination pattern from port-based cleanup
- Preserves throwOnStdErr: false behavior throughout
- Gives processes a chance to clean up before force termination
- More consistent behavior across all cleanup code paths1 parent 096d858 commit 770fc52
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1068 | 1079 | | |
1069 | | - | |
| 1080 | + | |
| 1081 | + | |
1070 | 1082 | | |
1071 | 1083 | | |
1072 | 1084 | | |
| |||
0 commit comments