// child_process shim
export function exec(_cmd: any, _opts: any, cb?: any) {
  if (typeof _opts === 'function') { cb = _opts; }
  if (cb) cb(new Error('child_process not available in CF Workers'));
}
export function execSync() { throw new Error('child_process not available in CF Workers'); }
export function spawn() { throw new Error('child_process not available in CF Workers'); }
export function fork() { throw new Error('child_process not available in CF Workers'); }
export default { exec, execSync, spawn, fork };
