From ce9169d9ab1d16e46d3e9305ed8481e0c9fe23c2 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 11 Jan 2026 10:45:17 +0800 Subject: [PATCH] feat: add cal-note.ts --- single-scripts/cal-node.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 single-scripts/cal-node.ts diff --git a/single-scripts/cal-node.ts b/single-scripts/cal-node.ts new file mode 100755 index 0000000..d0ce952 --- /dev/null +++ b/single-scripts/cal-node.ts @@ -0,0 +1,12 @@ +#!/usr/bin/env runts -- --runtime-bun + +const { spawn } = require('node:child_process'); + +const _child = spawn('cal', ['-3'], { + shell: true, + // stdio reference: https://nodejs.org/api/child_process.html#optionsstdio + stdio: ['inherit', 'inherit', 'inherit'] +}); + +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260111T104456+08:00.MEYCIQCLBioJmr0B4ZbAlBYV +// Fo+rB6ruDJhpZv6QffcZZsb3WQIhANjQqzH8PcBAEC24wRRX+ow4cX/C9L4RwXVEHahyrhbz