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

Function generateWindowsHiddenLauncherVbs

apps/cli/src/service.ts:702–708  ·  view source on GitHub ↗
(wrapperPath: string)

Source from the content-addressed store, hash-verified

700 * the wrapper's own redirection.
701 */
702export const generateWindowsHiddenLauncherVbs = (wrapperPath: string): string =>
703 [
704 'Set sh = CreateObject("WScript.Shell")',
705 `rc = sh.Run("""${wrapperPath}""", 0, True)`,
706 "WScript.Quit rc",
707 "",
708 ].join("\r\n");
709
710/** Run schtasks.exe, capturing (stdout, stderr, code). */
711const runSchtasks = (args: ReadonlyArray<string>): Effect.Effect<CommandResult, Error> =>

Callers 2

service.test.tsFile · 0.90
makeWindowsBackendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected