1
0
silverbullet/syscall/plugos-syscall/shell.ts
Zef Hemel 561aa6891f
Migrate to Deno (#86)
Big bang migration to Deno 🤯
2022-10-10 14:50:21 +02:00

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);
}