build: type live media runner

This commit is contained in:
Peter Steinberger
2026-04-06 19:51:36 +01:00
parent b6e0a24d50
commit aaa5dea358
2 changed files with 27 additions and 0 deletions

View File

@@ -7,8 +7,24 @@ export type PnpmRunnerParams = {
nodeExecPath?: string;
platform?: NodeJS.Platform;
comSpec?: string;
cwd?: string;
detached?: boolean;
stdio?: SpawnOptions["stdio"];
env?: NodeJS.ProcessEnv;
};
export function resolvePnpmRunner(params?: PnpmRunnerParams): {
command: string;
args: string[];
shell: boolean;
windowsVerbatimArguments?: boolean;
env?: NodeJS.ProcessEnv;
};
export function createPnpmRunnerSpawnSpec(params?: PnpmRunnerParams): {
command: string;
args: string[];
options: SpawnOptions;
};
export function spawnPnpmRunner(params?: PnpmRunnerParams): ChildProcess;