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

x/somefn/deno/run.ts>onlyRun

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

[Deno] 执行命令 (不需要获取返回数据)

Parameters

command: string[] | string

需要运行的命令

optional
opt: Omit<Parameters<Deno.run>[0], "cmd" | "stdout" | "stderr"> & { timeout?: number; }

参数

Returns

Promise<number>