(wrapperPath: string)
| 700 | * the wrapper's own redirection. |
| 701 | */ |
| 702 | export 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). */ |
| 711 | const runSchtasks = (args: ReadonlyArray<string>): Effect.Effect<CommandResult, Error> => |
no outgoing calls
no test coverage detected