Interface: RunOptions
Options for running a command.
Properties
cwd?
optional
cwd:string
custom directory
Defined in
packages/extension-api/src/extension-api.d.ts:4303
encoding?
optional
encoding:BufferEncoding
The encoding to use. Default utf8
Defined in
packages/extension-api/src/extension-api.d.ts:4313
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:4288
isAdmin?
optional
isAdmin:boolean
admin privileges required
Defined in
packages/extension-api/src/extension-api.d.ts:4308
logger?
optional
logger:Logger
A logger used to track execution events.
Defined in
packages/extension-api/src/extension-api.d.ts:4298
token?
optional
token:CancellationToken
A cancellation token used to request cancellation.