// @bun
import{Ct as o}from"./chunk-g2rmdpb3.js";import{jw as i}from"./chunk-hzdm0yt0.js";import{LG as c}from"./chunk-xyhgvt88.js";var e=c(i(),1);import p from"path";function l(n,t){let r=t?.PATH??t?.Path??process.env.PATH??process.env.Path??"",h=r?r+p.delimiter+o.Path.bin:o.Path.bin,s=e.default.sync(n,{nothrow:!0,path:h,pathExt:t?.PATHEXT??t?.PathExt??process.env.PATHEXT??process.env.PathExt});return typeof s==="string"?s:null}
export{l as et};
