need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
15
dist/shared/spawn-with-windows-hide.d.ts
vendored
Normal file
15
dist/shared/spawn-with-windows-hide.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user