1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 19:12:20 -05:00
denoland-deno/tests/registry/npm/@denotest/exec-file/1.0.0/index.js

7 lines
240 B
JavaScript
Raw Normal View History

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());