MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / defaultTaskExists

Function defaultTaskExists

packages/server/src/svc/schtasks.ts:238–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236
237
238async function defaultTaskExists(): Promise<boolean> {
239 const res = await execFileUtf8('schtasks', ['/Query', '/TN', KIMI_SERVER_TASK_NAME], {
240 windowsHide: true,
241 });
242 return res.code === 0;
243}
244
245
246function serializeArguments(plan: InstallPlan): string {

Callers

nothing calls this directly

Calls 1

execFileUtf8Function · 0.90

Tested by

no test coverage detected