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