Interface: RunOptions
Options for running a command.
Properties
cwd?
optional
cwd:string
custom directory
Defined in
packages/extension-api/src/extension-api.d.ts:4056
encoding?
optional
encoding:BufferEncoding
The encoding to use. Default utf8
Defined in
packages/extension-api/src/extension-api.d.ts:4066
env?
optional
env:object
Environment variables to set for the command.
Index Signature
[key
: string
]: string
Defined in
packages/extension-api/src/extension-api.d.ts:4041
isAdmin?
optional
isAdmin:boolean
admin privileges required
Defined in
packages/extension-api/src/extension-api.d.ts:4061
logger?
optional
logger:Logger
A logger used to track execution events.
Defined in
packages/extension-api/src/extension-api.d.ts:4051
token?
optional
token:CancellationToken
A cancellation token used to request cancellation.