1
0
silverbullet/plugos-syscall/shell.ts

9 lines
190 B
TypeScript
Raw Normal View History

2022-04-01 15:07:08 +00:00
import { syscall } from "./syscall";
export async function run(
cmd: string,
args: string[]
): Promise<{ stdout: string; stderr: string }> {
return syscall("shell.run", cmd, args);
}