ExecSimpleOptions
Options for exec that return only stdout.
Import:
import type { ExecSimpleOptions } from 'obsidian-dev-utils/script-utils/exec';Signature:
export interface ExecSimpleOptions extends ExecOptionsExtends: ExecOptions
Properties
| Property | Type | Description |
|---|---|---|
| cwd? | string | A current working folder for the command execution. (Inherited from ExecOptions) |
| env? | NodeJS.ProcessEnv | Additional environment variables for the child process, merged over the inherited environment. (Inherited from ExecOptions) |
| isInteractive? | boolean | If true, attaches the child process's stdio directly to the terminal (stdio: 'inherit') instead of capturing it. Use for long-running or interactive commands such as dev servers and watch mode. Because the output is not captured, the resolved stdout is an empty string.(Inherited from ExecOptions) |
| isQuiet? | boolean | If true, suppresses the output of the command.(Inherited from ExecOptions) |
| shouldFailIfCalledFromOutsideRoot? | boolean | If true, throws an error if the command fails.(Inherited from ExecOptions) |
| shouldIgnoreExitCode? | boolean | If true, ignores the exit code of the command.(Inherited from ExecOptions) |
| shouldIncludeDetails? | false | Must be false or omitted to receive only stdout. |
| stdin? | string | An input to be passed to the command. (Inherited from ExecOptions) |