Files
openclaw/src/daemon/schtasks-exec.ts
2026-02-15 03:53:53 +00:00

8 lines
237 B
TypeScript

import { execFileUtf8 } from "./exec-file.js";
export async function execSchtasks(
args: string[],
): Promise<{ stdout: string; stderr: string; code: number }> {
return await execFileUtf8("schtasks", args, { windowsHide: true });
}