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

Function generateWindowsHiddenLauncherVbs

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

Source from the content-addressed store, hash-verified

704 * the wrapper's own redirection.
705 */
706export const generateWindowsHiddenLauncherVbs = (wrapperPath: string): string =>
707 [
708 'Set sh = CreateObject("WScript.Shell")',
709 `rc = sh.Run("""${wrapperPath}""", 0, True)`,
710 "WScript.Quit rc",
711 "",
712 ].join("\r\n");
713
714/** Run schtasks.exe, capturing (stdout, stderr, code). */
715const 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