// Minimal execFileNoThrow — only used by termio/osc.ts for terminal queries
import { execFileSync } from 'child_process';
export async function execFileNoThrow(cmd, args, options) {
    try {
        const stdout = execFileSync(cmd, args, { ...options, encoding: 'utf8', timeout: 5000 });
        return { stdout: String(stdout), code: 0 };
    }
    catch {
        return { stdout: '', code: 1 };
    }
}
//# sourceMappingURL=utils-execFileNoThrow.js.map