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

9 lines
188 B
TypeScript
Raw Normal View History

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