blob: e133ae3ddde584f1db00fd0da6f7329e1278750d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env node
const path = require("path");
let binPath;
if (path.sep === "\\") {
binPath = ".\\target\\debug\\turbo.exe";
} else {
binPath = "./target/debug/turbo";
}
try {
require("child_process").execFileSync(binPath, process.argv.slice(2), {
stdio: "inherit",
});
} catch (e) {
if (e && e.status) process.exit(e.status);
throw e;
}
|