9 lines
188 B
TypeScript
9 lines
188 B
TypeScript
import { syscall } from "./syscall.ts";
|
|
|
|
export function run(
|
|
cmd: string,
|
|
args: string[],
|
|
): Promise<{ stdout: string; stderr: string }> {
|
|
return syscall("shell.run", cmd, args);
|
|
}
|