Files
openclaw/scripts/lib/windows-taskkill.mjs
2026-06-21 11:15:14 +02:00

12 lines
362 B
JavaScript

// Resolves Windows system binaries without trusting PATH.
import {
resolveWindowsPowerShellPath,
resolveWindowsSystem32Path,
} from "../windows-cmd-helpers.mjs";
export { resolveWindowsPowerShellPath, resolveWindowsSystem32Path };
export function resolveWindowsTaskkillPath(env = process.env) {
return resolveWindowsSystem32Path("taskkill.exe", env);
}