mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-13 06:03:39 -06:00
c70aee247e
* refactor(scripts): migrate JavaScript tools to TypeScript * fix(ci): keep changed-scope preflight zero-install * fix(ci): preserve zero-install script owners * fix(ci): complete script migration follow-through * fix(release): keep stable closeout zero-install * fix(scripts): preserve standalone execution boundaries * fix(scripts): repair standalone loader boundaries * fix(scripts): normalize gateway observation ids * fix(scripts): keep Docker packager standalone * test(scripts): preserve rebase cleanup helpers * test(sessions): use tracked temp directory
16 lines
427 B
JavaScript
16 lines
427 B
JavaScript
// Resolves Windows system binaries without trusting PATH.
|
|
import {
|
|
resolveWindowsPowerShellPath,
|
|
resolveWindowsSystem32Path,
|
|
} from "../windows-cmd-helpers.mjs";
|
|
|
|
export { resolveWindowsPowerShellPath, resolveWindowsSystem32Path };
|
|
|
|
/**
|
|
* @param {NodeJS.ProcessEnv} [env]
|
|
* @returns {string}
|
|
*/
|
|
export function resolveWindowsTaskkillPath(env = process.env) {
|
|
return resolveWindowsSystem32Path("taskkill.exe", env);
|
|
}
|