9 lines
190 B
TypeScript
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);
|
||
|
}
|