Files
airllm-fork-nodejs/node_modules/node-llama-cpp/dist/utils/spawnCommand.d.ts
2026-02-05 15:27:49 +08:00

12 lines
441 B
TypeScript

export declare function spawnCommand(command: string, args: string[], cwd: string, env?: NodeJS.ProcessEnv, progressLogs?: boolean): Promise<{
stdout: string;
stderr: string;
combinedStd: string;
}>;
export declare class SpawnError extends Error {
readonly stdout: string;
readonly stderr: string;
readonly combinedStd: string;
constructor(message: string, stdout: string, stderr: string, combinedStd: string);
}