mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 19:12:20 -05:00
7 lines
240 B
JavaScript
7 lines
240 B
JavaScript
|
const child_process = require('child_process');
|
||
|
const path = require('path');
|
||
|
|
||
|
const execArgs = [path.join(__dirname, "exec-child.js")]
|
||
|
const buf = child_process.execFileSync(process.execPath, execArgs);
|
||
|
console.log(buf.toString().trim());
|