mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user