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