Files
blog/node_modules/hexo-util/dist/spawn.d.ts
2025-07-16 16:30:56 +00:00

10 lines
364 B
TypeScript

/// <reference types="node" />
/// <reference types="node" />
import { SpawnOptions } from 'child_process';
interface Options extends SpawnOptions {
verbose?: boolean;
encoding?: BufferEncoding;
}
declare function promiseSpawn(command: string, args?: string | string[] | Options, options?: Options): Promise<string | void | Buffer>;
export = promiseSpawn;