11 lines
151 B
TypeScript
11 lines
151 B
TypeScript
|
export type ShellRequest = {
|
||
|
cmd: string;
|
||
|
args: string[];
|
||
|
};
|
||
|
|
||
|
export type ShellResponse = {
|
||
|
stdout: string;
|
||
|
stderr: string;
|
||
|
code: number;
|
||
|
};
|