mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
const cp = require('child_process');
|
|
|
|
cp.execFile("node", ["--version"], cb);
|
|
cp.execFileSync("sh", ["-c", "node --version"]);
|
|
cp.fork("foo", ["arg"]);
|
|
cp.spawn("echo", ["Hi"], cb);
|
|
cp.spawnSync("echo", ["Hi", "there"]);
|