Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/cli.ts>CommandResult

A JavaScript extension package for building strong and modern applications.
Latest
interface CommandResult
import { type CommandResult } from "https://deno.land/x/ayonli_jsext@v0.9.72/cli.ts";

The result of command execution functions such as the run, powershell and sudo.

Properties

code: number

The exit code of the command. A non-zero value indicates an error.

stdout: string

The standard output of the command, may end with a newline character.

stderr: string

The standard error of the command, may end with a newline character.