Interface ExecShellCommandConfig

configuration options for the execShellCommand function.

interface ExecShellCommandConfig {
    args: string[];
    cwd?: string | URL;
    signal?: AbortSignal;
}

Properties

Properties

args: string[]

cli-arguments to pass to the process.

[] (empty array)

cwd?: string | URL

set the working directory of the process.

if not specified, the cwd of the parent process is inherited.

undefined

signal?: AbortSignal

provide an optional abort signal to force close the process, by sending a "SIGTERM" os-signal to it.

undefined