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

Function generateWindowsHiddenLauncherVbs

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

Source from the content-addressed store, hash-verified

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