Files
opencode-plugin-tmux-utils/dist/shared/spawn-with-windows-hide.d.ts
Dmytro Stanchiev 15be750b5c need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-19 19:15:51 -04:00

16 lines
608 B
TypeScript

export interface SpawnOptions {
cwd?: string;
env?: Record<string, string | undefined>;
stdin?: "pipe" | "inherit" | "ignore";
stdout?: "pipe" | "inherit" | "ignore";
stderr?: "pipe" | "inherit" | "ignore";
}
export interface SpawnedProcess {
readonly exitCode: number | null;
readonly exited: Promise<number>;
readonly stdout: ReadableStream<Uint8Array> | undefined;
readonly stderr: ReadableStream<Uint8Array> | undefined;
kill(signal?: NodeJS.Signals): void;
}
export declare function spawnWithWindowsHide(command: string[], options: SpawnOptions): SpawnedProcess;