Added files for Juan

This commit is contained in:
2024-08-07 11:38:48 -07:00
parent f7878e3e60
commit 795d1d72ce
2871 changed files with 621552 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env node
const path = require("path");
const spawn = require("child_process").spawn;
const binPath = require(path.join(__dirname, "..", "lib", "chromedriver")).path;
const args = process.argv.slice(2);
const cp = spawn(binPath, args);
cp.stdout.pipe(process.stdout);
cp.stderr.pipe(process.stderr);
cp.on("exit", process.exit);
process.on("SIGTERM", function() {
cp.kill("SIGTERM");
process.exit(1);
});