Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/somefn/deno/run.ts>run

some functions for deno
Go to Latest
function run
import { run } from "https://deno.land/x/somefn@v0.30.0/deno/run.ts";

[Deno] 执行命令

Parameters

command: string[] | string

需要运行的命令

optional
unnamed 1: Deno.CommandOptions & { timeout?: number; } = [UNSUPPORTED]

参数

Returns

Promise<{ res: string; errMsg: string; code: number; }>