Deno.CommandOptions
Options which can be set when calling Deno.Command
.
interface CommandOptions {
args?: string[];
clearEnv?: boolean;
cwd?: string | URL;
env?: Record<string, string>;
gid?: number;
signal?: AbortSignal;
stderr?: "piped" | "inherit" | "null";
stdin?: "piped" | "inherit" | "null";
stdout?: "piped" | "inherit" | "null";
uid?: number;
windowsRawArguments?: boolean;
}§Properties
§
clearEnv?: boolean
[src]Clear environmental variables from parent process.
Doesn't guarantee that only env
variables are present, as the OS may
set environmental variables for processes.
§
signal?: AbortSignal
[src]An AbortSignal
that allows closing the process using the
corresponding AbortController
by sending the process a
SIGTERM signal.
Not supported in Deno.Command.outputSync
.
§
stderr?: "piped" | "inherit" | "null"
[src]How stderr
of the spawned process should be handled.
Defaults to "piped"
for output
& outputSync
,
and "inherit"
for spawn
.
§
stdin?: "piped" | "inherit" | "null"
[src]How stdin
of the spawned process should be handled.
Defaults to "inherit"
for output
& outputSync
,
and "inherit"
for spawn
.
§
stdout?: "piped" | "inherit" | "null"
[src]How stdout
of the spawned process should be handled.
Defaults to "piped"
for output
& outputSync
,
and "inherit"
for spawn
.