fix(cli): Windows Chrome cleanup and process reads no longer pass PowerShell command text (#8085)

* fix(cli): Windows process reads and Chrome cleanup no longer pass PowerShell command text

* fix(cli): a forced Chrome close on Windows ends what Chrome started

* test(cli): the forced-close test's child holds no pipe to the browser

* test(cli): the forced-close test's child outlives a dead parent, as Chrome's do

* test(cli): forced-close test waits for the kill; PowerShell starts only via processReadArgs

* fix(cli): Windows cleanup ends only a process the CLI started, never a pid it was handed
This commit is contained in:
Miguel Ángel
2026-11-17 20:27:58 +00:00
committed by GitHub
parent 7407968882
commit b930c4d2d7
12 changed files with 210 additions and 99 deletions
+3
View File
@@ -215,6 +215,9 @@ async function main() {
const inspectorRuntime = join(REPO_ROOT, "packages", "inspector", "dist", "inspection.js");
cpSync(inspectorRuntime, join(DIST, "inspection.js"));
// Windows process reads run this file with -File (utils/windowsProcesses.ts), found beside the bundled chunks.
cpSync(join(CLI_ROOT, "src", "utils", "processes.ps1"), join(DIST, "processes.ps1"));
copyGsapVendorFiles();
copyMdFiles(join(CLI_ROOT, "src", "docs"), join(DIST, "docs"));