Files
webshell/src/program/Program.ts
2026-05-12 10:38:30 +02:00

12 lines
295 B
TypeScript

import type { Item } from "../fs/Item"
import type { SimpleStream } from "../utils/SimpleStream"
export abstract class Program {
abstract Exec(
stdin: SimpleStream<string>,
stdout: SimpleStream<string>,
workdir: Item,
args: string[]
): Promise<number>
}