Skip to content

ExecResult

A result of exec.

Import:

import type { ExecResult } from 'obsidian-dev-utils/script-utils/exec';

Signature:

export interface ExecResult

Properties

PropertyTypeDescription
exitCodenull | numberAn exit code of the command. A value of null indicates that the process did not exit normally.
exitSignalNodeJS.Signals | nullA signal that caused the process to be terminated. A value of null indicates that no signal was received.
stderrstringA standard error output from the command.
stdoutstringA standard output from the command.

Links to this page: