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

Function runSchtasks

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

Source from the content-addressed store, hash-verified

720
721/** Run schtasks.exe, capturing (stdout, stderr, code). */
722const runSchtasks = (args: ReadonlyArray<string>): Effect.Effect<CommandResult, Error> =>
723 runCommand("schtasks.exe", args);
724
725/** Write a UTF-16LE (BOM-prefixed) file — the encoding schtasks expects for XML. */
726const writeUtf16File = (

Callers 1

makeWindowsBackendFunction · 0.85

Calls 1

runCommandFunction · 0.70

Tested by

no test coverage detected