const requireNodeModule = (moduleName) => {
    if (typeof window !== 'undefined' && typeof window.require === 'function') {
        return (window.require)(moduleName);
    }
    throw new Error(`Node.js module "${moduleName}" is not available. Ensure nodeIntegration is enabled.`);
};
const mod = requireNodeModule('node:child_process');
export default mod;
export const ChildProcess = mod.ChildProcess;
export const exec = mod.exec;
export const execFile = mod.execFile;
export const execFileSync = mod.execFileSync;
export const execSync = mod.execSync;
export const fork = mod.fork;
export const spawn = mod.spawn;
export const spawnSync = mod.spawnSync;
