17 lines
543 B
TypeScript
Executable File
17 lines
543 B
TypeScript
Executable File
#!/usr/bin/env runts -- --allow-import --allow-env --allow-run
|
|
|
|
import {execCommandShell} from "https://script.hatter.ink/@30/deno-commons-mod.ts";
|
|
|
|
// or: cal -A 1 -B 1
|
|
await execCommandShell("cal", [-3]);
|
|
// const command = new Deno.Command("cal", {
|
|
// args: ["-3"],
|
|
// env: {},
|
|
// stdin: "inherit",
|
|
// stdout: "inherit",
|
|
// });
|
|
// const _child = command.spawn();
|
|
|
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260207T231256+08:00.MEUCIQCTZtceCcESJyAW7TG6
|
|
// IVRbKr0B2sE74XSEd8/FHcliIQIgESsAWqtcmSaxVl1Qch61o4kqsge+58lcc9zyEeEpJs4=
|