(Path: string)
| 23 | } |
| 24 | |
| 25 | function envPath(Path: string): NodeJS.ProcessEnv { |
| 26 | return { |
| 27 | Path, |
| 28 | PathExt: process.env["PathExt"] ?? process.env["PATHEXT"], |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | function same(a: string | null, b: string) { |
| 33 | if (process.platform === "win32") { |