MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / runSchtasks

Function runSchtasks

apps/cli/src/service.ts:711–712  ·  view source on GitHub ↗
(args: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

709
710/** Run schtasks.exe, capturing (stdout, stderr, code). */
711const runSchtasks = (args: ReadonlyArray<string>): Effect.Effect<CommandResult, Error> =>
712 runCommand("schtasks.exe", args);
713
714/** Write a UTF-16LE (BOM-prefixed) file — the encoding schtasks expects for XML. */
715const writeUtf16File = (

Callers 1

makeWindowsBackendFunction · 0.85

Calls 1

runCommandFunction · 0.70

Tested by

no test coverage detected