Add deploy button

This commit is contained in:
Alex Gleason committed 2025-07-20 19:11:41 -05:00
1 parent 68d852b5b8
commit b6275fc33e
5 files changed
+82 -18

No files matched your search

+15 -1
View File
@@ -14,7 +14,7 @@ export interface JSRuntime {
* @param options Spawn options
* @returns Process handle
*/
spawn(command: string, args?: string[], options?: Record<string, unknown>): Promise<JSRuntimeChildProcess>;
spawn(command: string, args?: string[], options?: SpawnOptions): Promise<JSRuntimeChildProcess>;
}
/**
@@ -87,4 +87,18 @@ export interface JSRuntimeChildProcess {
* Kills the process.
*/
kill(): void;
}
/**
* Options that control process spawning.
*/
export interface SpawnOptions {
/**
* Current working directory for the process, relative to the workdir of this instance.
*/
cwd?: string;
/**
* Environment variables to set for the process.
*/
env?: Record<string, string | number | boolean>;
}