1
0
silverbullet/packages/plugos-syscall/shell.ts

9 lines
190 B
TypeScript

import { syscall } from "./syscall";
export async function run(
cmd: string,
args: string[]
): Promise<{ stdout: string; stderr: string }> {
return syscall("shell.run", cmd, args);
}