aboutsummaryrefslogtreecommitdiff
path: root/test/js/node/process/print-process-args.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/node/process/print-process-args.js')
-rw-r--r--test/js/node/process/print-process-args.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/js/node/process/print-process-args.js b/test/js/node/process/print-process-args.js
new file mode 100644
index 000000000..0ab238122
--- /dev/null
+++ b/test/js/node/process/print-process-args.js
@@ -0,0 +1,4 @@
+var writer = Bun.stdout.writer();
+writer.write(JSON.stringify(process.argv));
+await writer.flush(true);
+process.exit(0);