summaryrefslogtreecommitdiff
path: root/tests/registry/npm/@denotest/exec-file/1.0.0/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry/npm/@denotest/exec-file/1.0.0/index.js')
-rw-r--r--tests/registry/npm/@denotest/exec-file/1.0.0/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/exec-file/1.0.0/index.js b/tests/registry/npm/@denotest/exec-file/1.0.0/index.js
new file mode 100644
index 000000000..0129483aa
--- /dev/null
+++ b/tests/registry/npm/@denotest/exec-file/1.0.0/index.js
@@ -0,0 +1,6 @@
+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());