fix(plugins): Export child_process.spawn from plugins and use plugins.spawn in spawnPath to remove direct require and unify process spawning

This commit is contained in:
2025-10-17 06:26:00 +00:00
parent ec2db7af72
commit e5b57c894b
4 changed files with 11 additions and 5 deletions

View File

@@ -1,10 +1,11 @@
// node native
import * as path from 'path';
import * as url from 'url';
import { spawn } from 'child_process';
import type { ChildProcess } from 'child_process';
import type { Readable } from 'stream';
export { path, url };
export { path, url, spawn };
export type { ChildProcess, Readable };
// @pushrocks scope