We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
yes.exe
1 parent 4677766 commit 7e8f7c7Copy full SHA for 7e8f7c7
benchmark/child_process/child-process-read.js
@@ -29,7 +29,12 @@ function main(conf) {
29
});
30
31
setTimeout(function() {
32
- child.kill();
+ if (process.platform === 'win32') {
33
+ // Sometimes there's a yes.exe process left hanging around on Windows...
34
+ child_process.execSync(`taskkill /f /t /pid ${child.pid}`);
35
+ } else {
36
+ child.kill();
37
+ }
38
const gbits = (bytes * 8) / (1024 * 1024 * 1024);
39
bench.end(gbits);
40
}, dur * 1000);
0 commit comments